12 Aug 2011 7:28 AM #1
Unanswered: Row Expander Columns
Is there anyway to use the row expander plugin to render the additional data in columns under the expanded row designated columns?
For example, if my grid had columns for Name, Date and School on expand age and address would appear below name and day of the week would appear below date and grade would appear below school instead of all just being in a united (colspan = number of columns) row.
12 Aug 2011 8:15 AM #2
The short answer is yes. In RowExander.js on this line
o.rowBodyColspan = o.rowBodyColspan - 1;
12 Aug 2011 8:17 AM #3
Yeah, i noticed that, after a bit of playing around i discovered that if you change it to just one... and use <td></td> tags in the xtemplate it will work. I'll post an example later for those with my same problem.