ListGrid : selecting a cell/row by clicking on a recordComponent

I have subclassed ListGrid to provide an “owner-draw” cell for my grid using

@Override
protected Canvas createRecordComponent(final ListGridRecord record, Integer colNum) {
}

But, doing that, the canvas is “stealing” all mouse clicks and I loose in this way the row select/deselect behavior.

How can I forward mouse clicks to the ListGrid or how can I achieve my goal (to have multiple selection and also the visual effect of row selection) ?

SelectRecord works, but handling by my own multiple selection is not straight-forward and I am keeping this as a last solution.

Issue on : smartGwt 2.2 + gwt 2.0.3

Thanks in advance for the answer,
Remyx

Also, since the widget is taking the events, drag and drop is not possible.

Hi, I have meet the same problem as you meet. I can’t capture the click event when I click on the record component. And I figure out that it’s because the zIndex of the record component is too high. Hava you find a way out? Could you give me some tips? Thanks in advance.

I just find the method listgrid.rowClick() can programatically simulate clicking of a row. And it work well.