org.gcube.portlets.admin.resourcesweeper.client.grids
Class CustomSorter
java.lang.Object
com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>
org.gcube.portlets.admin.resourcesweeper.client.grids.CustomSorter
public class CustomSorter
- extends com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>
Fields inherited from class com.extjs.gxt.ui.client.store.StoreSorter |
comparator, DEFAULT_COMPARATOR |
Method Summary |
int |
compare(com.extjs.gxt.ui.client.store.Store<com.extjs.gxt.ui.client.data.ModelData> store,
com.extjs.gxt.ui.client.data.ModelData m1,
com.extjs.gxt.ui.client.data.ModelData m2,
String property)
need to recalculate the percentage as the returned value is not what the render returns |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomSorter
public CustomSorter()
compare
public int compare(com.extjs.gxt.ui.client.store.Store<com.extjs.gxt.ui.client.data.ModelData> store,
com.extjs.gxt.ui.client.data.ModelData m1,
com.extjs.gxt.ui.client.data.ModelData m2,
String property)
- need to recalculate the percentage as the returned value is not what the render returns
- Overrides:
compare
in class com.extjs.gxt.ui.client.store.StoreSorter<com.extjs.gxt.ui.client.data.ModelData>
Copyright © 2013. All Rights Reserved.