Page 1 of 1
Single subfile row collapse/expand
Posted: Tue Jun 14, 2011 5:19 am
by drey
I would like to know if i can collapse/expand a single subfile's row. With the method getObj("SUBFILE").grid.expand()/getObj("SUBFILE").grid.collapse() we expand/collapse all the rows. We want to click on a button and expand/collapse of a row. I've tried to change the properties for a single row (for example the height) but it was impossible. There is a property in the subfile widget: "single row zoom". However it's not a valid solution for us.
Thanks!
Re: Single subfile row collapse/expand
Posted: Tue Jun 14, 2011 9:26 am
by Brian
My first question would have to be, why is the "single row zoom" not working for you?
Re: Single subfile row collapse/expand
Posted: Tue Jun 14, 2011 10:32 am
by drey
The "single row zoom" could be a solution. But I wanted to know if it's possible to do something like this extjs sample:
http://dev.sencha.com/deploy/ext-4.0.2/ ... pgrid.html
where I can collapse/expand individual rows and then action remains if I select another row.
If it's not possible the "single row zoom" option could be a valid solution.
Thanks.
Re: Single subfile row collapse/expand
Posted: Tue Jun 14, 2011 1:42 pm
by Brian
Unfortunately, because of the way our grid renders data to the screen, expanding multiple rows is not an option.