The 10/02/2012 3.1d nightly build causes an exception when attempting to use the getSortSpecifiers() function of a SortEvent - as in the following:
Exception :
Caused by: java.lang.ClassCastException: com.google.gwt.core.client.JavaScriptObject$ cannot be cast to [Lcom.smartgwt.client.data.SortSpecifier;
at com.smartgwt.client.widgets.grid.events.SortEvent.getSortSpecifiers(SortEvent.java)
I've tried the 09/27 & 09/29 builds with the same results.
Code:
this.addSortChangedHandler(new SortChangedHandler() { @Override public void onSortChanged(SortEvent event) { // TODO Auto-generated method stub\ if (event.getSortSpecifiers().length == 0) { ...
Caused by: java.lang.ClassCastException: com.google.gwt.core.client.JavaScriptObject$ cannot be cast to [Lcom.smartgwt.client.data.SortSpecifier;
at com.smartgwt.client.widgets.grid.events.SortEvent.getSortSpecifiers(SortEvent.java)
I've tried the 09/27 & 09/29 builds with the same results.
Comment