View Full Version : root property of sorter?

25 Jan 2012, 9:38 AM
In the docs for the root property on Sorter, it says:

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 (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.util.Sorter-cfg-property) out of the data object of each item

Can someone explain why this would ever be anything other than 'data' for a Store? I'm not able to find any examples where root is not set to 'data'.

Also it says "make the filter pull...", but I presume it should be saying "sorter"?