Results 1 to 5 of 5

Thread: Help order comboBox

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    121

    Default Help order comboBox

    I am not able to order the comboBox.
    In the data.field I put sortDir="ASC" , but It wasn't work.
    Could someone help me?


  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    You don't sort a combobox, you sort the store (by specifying 'sortInfo' or by calling sort())!

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    121

    Default

    I put sortInfo : "nome", but It wasn't work.
    I tried to put sortInfo : "displayField", but it gave error.
    I tried to do this from data.store.
    Would you have some example to show me Condor?


  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    In the store specify:
    Code:
    sortInfo: {field: 'nome', direction: 'ASC'}

  5. #5
    Sencha User
    Join Date
    Sep 2010
    Posts
    121

    Default

    Cool, It was work here Condor.
    My code was so sortInfo : {field: 'nome', direction: 'ASC'}
    Thank's very much Condor =))

Similar Threads

  1. Sorting in Combobox order by rendered values
    By rav_leg in forum Ext 3.x: Help & Discussion
    Replies: 9
    Last Post: 5 Nov 2010, 4:59 AM
  2. Cannot order gxt 2.0 now ?
    By Tooy in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 5 Jul 2009, 7:14 PM
  3. Order of additions
    By ubr in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 28 Nov 2008, 12:19 PM
  4. what to import in order to use ComboBox?
    By sombriks in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 15 May 2008, 10:54 AM

Posting Permissions

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