Results 1 to 4 of 4

Thread: Ext js 2.0 complex layout question

  1. #1

    Default Ext js 2.0 complex layout question

    hi,

    There's in the layout example a property grid in the right panel. You can display the values by alphabetical order by clicking on the name tab. What about the order you want? I don't find any clue about that in the doc.

    Thank you for your support
    Last edited by mystix; 26 Oct 2007 at 8:59 AM. Reason: moved to 2.x Help from Open Discussion

  2. #2

    Default

    There are a couple of threads about this.

    At this time, the PropertyGrid only supports sorted properties.

    You can try this though, it worked for me:

    Code:
    propGrid.store.sortInfo = null;
    propGrid.setSource(propSrc);
    found it here:

    http://extjs.com/forum/showthread.php?t=14901

  3. #3

    Default seems good

    thank you but you put those two line in PropertyGrid.js itself? i don't see any ref propGrid.store anywhere

  4. #4

    Default

    "PropGrid" is an example variable set to an instance of a property grid.

    The "store" is the Ext.data.Store assigned to the grid. May not be documented but it is available as a property of the grid itself.

    Hopefully, we'll have a config setting to handle this but right now, this hack will prevent the sort as the datastore doesn't have any info to sort on when you set the source.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •