Using rowexpander in extjs4
Add code snippe below to your grid:
plugins: [{
ptype: 'rowexpander',
rowBodyTpl : [
'<p>{yourcolumn}</p>'
]
}],
How to expand all after store finishes loading?
I got many answers from google but they did not work!
Do not use
expander.expandRow(rownum);
Instead you should use
expander.toggleRow(rownum);
hi, I never tried nested grid, however you're not the first one to ask this question, just learn from google:
http://stackoverflow.com/questions/6346207/nested-grids-in-extjs-4
怎么才能grid嵌套呢?即,grid里面在嵌套一个grid