Ext.grid.Panel sorting the "name" field by default
Ext.grid.Panel sorting the "name" field by default
Edit: see the posts below
If there is a record having a field with a value of "name" as the name property, the grid gets sorted by that field by default. Why is that? And how can it be changed? I could not find anything that suggests this behavior in the documentation.
groupField : String
The (optional) field by which to group data in the store. Internally, grouping is very similar to sorting - the groupField and groupDir are injected as the first sorter (see sort). Stores support a single level of grouping, and groups can be fetched via the getGroups method.
why the hell would a grouped field need sorting so badly????? i definitely do not see the relevance