1. #1
    Ext User
    Join Date
    Sep 2010
    Posts
    1
    Vote Rating
    0
    Ubertuner is on a distinguished road

      0  

    Default PreSelect an item in a NestedList

    PreSelect an item in a NestedList


    Hello,
    my application has got a nested list for navigation on the left and a main view on the right. When it is started, the first item in the nested list should already be highlighted. How is this possible?

    Thanks
    Florian

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,098
    Vote Rating
    113
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Ubertuner -

    The NestedList is a collection of Ext.List's within a card layout. You can retrieve the currently active card and then select a particular record that you want.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    MacSebi is on a distinguished road

      0  

    Default


    Hi Aaron,
    while your answer might be true, it is not really helpful for someone looking for a solution. You might as well just have said RTFM.
    So, HOW does one select a particular record in a list?

    My problem ist slightly different, but your answer might have pointed me into the right direction.
    I've got a grouped list and would like to scroll down to an index (like loading a list and automatically scrolling down to the letter "P" on load. (How) is that possible?
    I don't expect a solution in code - but a hint where to search for it would be appreciated. I've looked at the API for Ext.List, but couldn't find a method that would do that.

    Cheers,
    MacSebi

Similar Threads

  1. Dataview as nestedlist item
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 10 Aug 2010, 7:41 PM
  2. Numberfield not working as nestedList item in v0.93
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 4 Aug 2010, 7:45 AM
  3. Nestedlist breaking when item is a form panel
    By blessan in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 29 Jul 2010, 7:34 PM
  4. how to preselect an item in multiselection
    By bhaskarv in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 23 Feb 2009, 2:08 AM
  5. how to preselect an item in multiselection
    By bhaskarv in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 19 Feb 2009, 10:25 PM

Thread Participants: 2