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,451

    Default

    There is no config to do this. You would have to do it yourself.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

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

  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,451

    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
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

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

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
  •