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:
On the new release it would return null/undefined but this is not compatible with the simple type return type.
This yields errors when calling the method in our app.
Tested on SNAPSHOT_v9.0d_2013-03-05/Pro Deployment 2013-03-05.
Thanks
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.
Thanks
Comment