PDA

View Full Version : Could I make RowExpander default expand?



zsumore
26 Sep 2008, 11:50 PM
Sometime I need RowExpander default is expanded.
How could i do?

gslender
28 Sep 2008, 6:37 PM
extend the class, add a public setExpanded(boolean) method that calls the protected toggle method and in a deferredCommand make the row expanded.

zsumore
6 Oct 2008, 5:21 PM
toggle method need El, where could i get?

gslender
7 Oct 2008, 12:39 AM
grid.getView().getRow(int row)

cheers,
grant

raymond.simm
8 Jan 2009, 1:12 PM
Hello,

I wanted to do a similar thing, but when I call grid.getView().getRow(int a), it returns an "Element" whereas the toggle method requires an "El". Anything else I can try?

Regards.

gslender
8 Jan 2009, 1:14 PM
El.fly(Element) will wrap an element into a El

raymond.simm
9 Jan 2009, 6:53 AM
thanks :)