Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SortEvent getSortSpecifiers causes exception

    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:
    Code:
    		this.addSortChangedHandler(new SortChangedHandler() {
    
    			@Override
    			public void onSortChanged(SortEvent event) {
    				// TODO Auto-generated method stub\
    				
    				if (event.getSortSpecifiers().length == 0) {
    ...
    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.

    #2
    We've confirmed this as a bug and will have a fix in place for the next nightly build (dated Oct 2)

    Regards
    Isomorphic Software

    Comment

    Working...
    X