Results 1 to 2 of 2

Thread: Datagrid not reconfiguring correct datagrid

  1. #1
    Sencha User
    Join Date
    Mar 2014
    Posts
    3
    Answers
    1

    Default Datagrid not reconfiguring correct datagrid

    I have a tab panel which shows opens different accounts based upon the user selection. Inside each account tab panel, i have a sub tab panel with different account types. The requirement was such that one of the inner tab can either be loaded directly or based on a click in other sub tab panels into a datagrid.


    When ever there is a click on other sub account tab panels, i am firing a custom event with the details required to load the new data.


    So now for example, i have opened two accounts Account-1, Account-2.


    Both the Account-1 & Account-2 tab panels have sub tab panels 1 & 2 respectively.


    So if i am in Account-1 --> subTabPanel-1 and click a row in datagrid, i expect that the Account-1 --> subTabPanel-1--> datagrid 1 gets updated. But Account-2 --> subTabPanel-2--> data grid is getting updated with the result.


    I tired to create new store every time a request is raised, but still it is behaving this way. Any help is appreciated.

    Code: https://fiddle.sencha.com/#fiddle/6es

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Your Fiddle doesn't load for me. I checked the code to see if I could spot the issue, but nothing stood out. Can you get the issue to happen in a running Fiddle?

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
  •