1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Answers
    1
    Vote Rating
    0
    Kaiser_Wilhelm is on a distinguished road

      0  

    Default Unanswered: Data grid to generate in tab panel

    Unanswered: Data grid to generate in tab panel


    Right now i have a tab panel with 4 tabs. Inside each tab I have a button and after the user clicks the button I want to generate a data grid inside the 'center' region of the panel. Is this possible? Do i need to have an empty grid first and then generate it with a store? Any help would be greatly appreciated. Thanks

  2. #2
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      0  

    Default


    For clarity/simplicity, it would probably be best to declare your grid/store in each tab.

    In the button click handler, you could then call myGrid.getStore().load() to actually load data.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    12
    Answers
    1
    Vote Rating
    0
    Kaiser_Wilhelm is on a distinguished road

      0  

    Default


    Thanks this seems to be working. However is there a way to create a grid with a store, hide the data until someone clicks a button?

  4. #4
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
    friend has a spectacular aura about friend has a spectacular aura about

      0  

    Default


    Setting autoLoad: false on the store should prevent it from preloading any data.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar