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

CellDoubleClickHandler error

$
0
0
SmartClient Version: v9.1p_2014-05-18/PowerEdition Deployment (built 2014-05-18)

In the CellDoubleClickHandler class if you call the getRecord() method on the CellDoubleClickEvent parameter in the onCellDoubleClick() method. An
Code:

java.lang.ClassCastException: com.smartgwt.client.data.Record cannot be cast to com.smartgwt.client.widgets.grid.ListGridRecord
        at com.smartgwt.client.widgets.grid.events.GridRowColEvent.getRecord(GridRowColEvent.java)

is thrown.

Viewing all articles
Browse latest Browse all 4756

Trending Articles