Hi,
I want to add onclick event to the grid cell. When click on it it
should do a rpc call and get the data from backend and should display
in a popup. I added below code.
grid.addGridCellListener(new GridCellListenerAdapter(){
public void onCellClick(final GridPanel grid, int row, int col,
EventObject eventObject) {
if(col == 7){
String status = grid.getStore().getAt(row).getAsString
("statusData");
if(status!=null){
showAircraftComments(status, issues );
}
}
}
the showAircraftComments(status, issues ) method has some code to rpc
call. My problem here is the data in col 7 is showing as null(even
though it has data in it). if I remove the below code from above
methos then it is showing the data in gris cell.
if(status!=null){
showAircraftComments(status, issues );
}
Please let me know whats wrong in my code.
Thanks,
Sekhar.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---