-
15 Jun 2012 4:31 AM #1
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..
-
15 Jun 2012 8:39 AM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
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
Scott.Code:// collapse all for(i = 0; i <= grid.getStore().getCount(); i++) { expander.expandRow(i); }


Reply With Quote