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

Possible Bug Found While Invoking groupBy Method on ListGrid

$
0
0
Hello,

I think we found a bug while invoking the groupBy method on a ListGrid:

Code:

final DataSource dataSource = DataSource.get(DATA_SOURCE);
final ListGrid listGrid = new ListGrid();
listGrid.setWidth100();
listGrid.setHeight100();
listGrid.setDataSource(dataSource);
listGrid.setAutoFetchData(Boolean.FALSE);
listGrid.groupBy("I_ID");
layout.addMember(listGrid);

If you add that in a onModuleLoad, the following Javascript error appears through window.alert (and nothing else, I mean no panel at all):
Code:

com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(46), JavaScript object(146), JavaScript object(149)]): this.fields is undefined
Do you have an idea where does this come from? We're using the p20141130 of SmartGWT 4.1 Power.

Cheers,
A.

Viewing all articles
Browse latest Browse all 4756

Trending Articles