Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGridField.addRecordClickHandler, Up/Down Arrow

$
0
0
SmartClient Version: v9.1p_2014-08-31/Pro Deployment (built 2014-08-31)

Hello,

I have a RecordClickHandler on a ListGridField which performs some action. The problem is, when I use the Up and Down arrow to select records in the list, the RecordClickHandler fires and says my field is the field that was clicked, but it was not and I do not want the action to be performed in this case.

com.smartgwt.client.widgets.grid.ListGridField.addRecordClickHandler(RecordClickHandler)

I cannot change ListGrid setArrowKeyAction as I do want it to select the record. Is there any way in the ListGridField RecordClickHandler to know that the event is from an Up/Down arrow so I can ignore it?

I would have expected that the RecordClickEvent.getField() would return null in this case as no field was actually clicked on.

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles