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

ListGrid.getEditCol can return null

$
0
0
Hello,

We are having an issue on 'ListGrid.getEditCol' which is returning 'null' in some cases, which conflicts with the following code in ListGrid:

Code:

    public native int getEditCol() /*-{
        var self = this.@com.smartgwt.client.widgets.BaseWidget::getOrCreateJsObj()();
        var ret = self.getEditCol();
        return ret;
    }-*/;

We believe that a check should be implemented to test on null, as is done in 'getEditRow' (returning -1 when null).

This is on v9.0p_2013-07-17/Pro Deployment 2013-07-17.

What do you think?

Viewing all articles
Browse latest Browse all 4756

Trending Articles