PDA

View Full Version : Grid RowExpander



pbt
7 Jan 2011, 6:05 AM
Hello,

I am using a grid with a RowExpander. I would like to add a button in the template of the RowExpander to expand the next row and close the current row. How could I add this button in the template and add a listener on it?

Thank you very much.

PBT

Ersmarker
13 Jan 2011, 3:33 PM
It's not possible to add widgets (button) in a template.
But you might want to look at this user extension for the RowExpander plugin. It adds support for Widgets.

http://www.sencha.com/forum/showthread.php?76921-ExtendedRowExpander

But you should know that it leaks memory and you have to fix that before using it.
More info in this thread

http://www.sencha.com/forum/showthread.php?88321-ActionListener-for-widgets-inside-RowExpander