Results 1 to 4 of 4

Thread: How do I specify a default row selection in Ext.ux.touch.grid?

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    12

    Default How do I specify a default row selection in Ext.ux.touch.grid?

    I want to select a specific row on intial load. Is there a way to specify this via config?

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    There is no config to do this. You would have to do it yourself.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    12

    Default

    OK, how do I go about doing this

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    If the store is not loaded, add a load listener to the store and on that select the first row. If the store is already loaded, select the first row.

    Ext.ux.touch.grid.List extends Ext.dataview.List so you can use the methods from the Ext.dataview.List class.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

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