Clear Up
SharpKit Reference

SorterConfig Class

Namespace: Ext.util

Base Types



Name Description


Name Description
direction The direction to sort by. Defaults to ASC
property The property to sort by. Required unless `sorter` is provided
root 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 {@link #property} out of the data object of each item
sorterFn A specific sorter function to execute. Can be passed instead of {@link #property}
transform A function that will be run on each value before it is compared in the sorter. The function will receive a single argument, the value.
© Copyright 2005-2011 SharpKit. All rights reserved.