Package: | Ext.util |
Defined In: | Sorter.js |
Class: | Sorter |
Extends: | Object |
Config Options | Defined By | |
---|---|---|
direction : String The direction to sort by. Defaults to ASC | Sorter | |
property : String The property to sort by. Required unless sorter is provided | Sorter | |
root : String Optional root property. This is mostly useful when sorting a Store, in which case we set the
root to 'data' to make t... Optional root property. This is mostly useful when sorting a Store, in which case we set the
root to 'data' to make the filter pull the property out of the data object of each item | Sorter | |
sorterFn : Function A specific sorter function to execute. Can be passed instead of property | Sorter |