Re: avoid row selection on cell click in CellTable

2011-10-05 Thread David Sanders
Thanks John! - I was looking to do something similar with a file download cell that I didn't want triggering selection events but pulled my hair out trying to find out how to disable the selection. Your suggestion worked a treat - I used the blacklist method. -- You received this message bec

Re: avoid row selection on cell click in CellTable

2011-02-01 Thread Torgeir
Thx, I also just found that simply having my Cells implementing the handlesSelection method fixes it; @Override public boolean handlesSelection() { return true; } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen

Re: avoid row selection on cell click in CellTable

2011-02-01 Thread John LaBanca
Selection is controlled by the selectionEventManager, which is is a CellPreviewEventHandler. Use the following to limit selection to checkboxes: DefaultSelectionEventManager selectionEventManager = DefaultSelectionEventManager.createCheckboxManager(0); // Limit selection to checkboxes in column 0

avoid row selection on cell click in CellTable

2011-02-01 Thread Torgeir
I have a CellTable with a MultiSelectionModel, and a selection checkbox in the first column, just as the CellTree sample in the GWT ShowCase. I have a problem in that when clicking on a cell in the table, eg a Cell of type SafeHtmlCell, the row is selected. I have tries using a different Column