Previous version:
http://www.smartclient.com/builds/SmartGWT/2.x/LGPL/2010-09-20
Last test version:
http://www.smartclient.com/builds/SmartGWT/2.x/LGPL/2010-09-22
I've figured out that speed problem is probably because of summary fields. On clean ListGrid it worked like before (after several cache cleaning).
On ListGrid with summary fields one fetch generates many warnings on console:
On compiled version the slow down is visible but much less that on Development Mode where it's significant.
Second problem (filter disappearing) is visible after clicking filter icon or immediately when field has setFilterOnKeypress(true).
Last exception throws down on this code:
http://www.smartclient.com/builds/SmartGWT/2.x/LGPL/2010-09-20
Last test version:
http://www.smartclient.com/builds/SmartGWT/2.x/LGPL/2010-09-22
I've figured out that speed problem is probably because of summary fields. On clean ListGrid it worked like before (after several cache cleaning).
On ListGrid with summary fields one fetch generates many warnings on console:
Code:
17:20:20.265:XRP1:WARN:ListGrid:isc_ListGrid_0:Unable to show summary values - dataset not completely loaded com.smartgwt.client.core.JsObject$SGWT_WARN: 17:20:20.265:XRP1:WARN:ListGrid:isc_ListGrid_0:Unable to show summary values - dataset not completely loaded
Second problem (filter disappearing) is visible after clicking filter icon or immediately when field has setFilterOnKeypress(true).
Last exception throws down on this code:
Code:
DeferredCommand.addCommand(new Command() { @SuppressWarnings("deprecation") public void execute() { Date d = new Date(); d.setDate(1); AdvancedCriteria[] criteria = { new AdvancedCriteria("date_init", OperatorId.GREATER_OR_EQUAL , d) }; listGrid.setFilterEditorCriteria(new AdvancedCriteria(OperatorId.AND, criteria)); listGrid.fetchData(listGrid.getFilterEditorCriteria()); } });
Comment