Announcement
Collapse
No announcement yet.
X
-
[SmartGWT4] ListGrid.getEditRow can return null
Hello,
It seems that there was a change to this method which is not correct.
Before it returned -1 when there was no edit row:
Code:public native int getEditRow() /*-{ var self = this.@com.smartgwt.client.widgets.BaseWidget::getOrCreateJsObj()(); var ret = self.getEditRow(); return ret == null ? -1 : ret; }-*/;
Code:public native int getEditRow() /*-{ var self = this.@com.smartgwt.client.widgets.BaseWidget::getOrCreateJsObj()(); var ret = self.getEditRow(); return ret; }-*/;
Tested on SNAPSHOT_v9.0d_2013-03-05/Pro Deployment 2013-03-05.
ThanksTags: None
Leave a comment: