1. #1
    Sencha User mono blaine's Avatar
    Join Date
    Jul 2008
    Location
    Turkey
    Posts
    123
    Vote Rating
    7
    mono blaine will become famous soon enough

      0  

    Question 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.

  2. #2
    Sencha User mono blaine's Avatar
    Join Date
    Jul 2008
    Location
    Turkey
    Posts
    123
    Vote Rating
    7
    mono blaine will become famous soon enough

      0  

    Default


    Sorry, it's actually the "grouper" that is sorting the column by default. Can this behaviour be changed anyway?

  3. #3
    Sencha User mono blaine's Avatar
    Join Date
    Jul 2008
    Location
    Turkey
    Posts
    123
    Vote Rating
    7
    mono blaine will become famous soon enough

      0  

    Default


    From 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

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar