1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    18
    Vote Rating
    0
    charan@dev.com is on a distinguished road

      0  

    Default Unanswered: Row Expander plugin Extjs Grid

    Unanswered: Row Expander plugin Extjs Grid


    I am trying to display EXT JS with Row Expander plugin in a Visual Force page.Check this link http://mikhailstadnik.com/ext/examples/nested-grid.htmAs per the link, I am successful in displaying Accounts in first grid and respective Contacts in child grid.Problem is: When I click on first row, it is expanded and shows the respective contacts. When I click on second row and first row is not closed, the data which I can see for second row (Contacts) are visible at first row contacts also.So, I think when second row is clicked, I need to close the first row.Please suggest me how to do this..

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,112
    Answers
    678
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      1  

    Default


    I do not see any options for making the selections mutually exclusive. You could have to collapse all the expanded rows and then open the selected

    Code:
    // collapse all
    for(i = 0; i <= grid.getStore().getCount(); i++) {
        expander.expandRow(i);
    }
    Scott.

Thread Participants: 1