In the addRowEditorExitHandler's, there isn't a way to get the post-edited values. If I RowEditorExitEvent.getRecord, the field values returned are pre-edit values. How can I get the after edited values from the grid?
Thanks
Thanks
countryGrid.addRowEditorExitHandler(new RowEditorExitHandler(){
public void onRowEditorExit(RowEditorExitEvent event) {
System.out.println(((CountryRecord)event.getRecord()).getFieldValue("countryName"));
}
});
System.out.println(countryGrid.getRecord(event.getRowNum()).getFieldValue("countryName"));
class RowEditorExitEvent
/**
* edit values for the current row
*
* @return edit values for the current row
*/
//TODO
public native JavaScriptObject getEditValues() /*-{
var jsObj = this.@com.smartgwt.client.event.AbstractSmartEvent::jsObj;
return jsObj.editValues;
}-*/;
Comment