PDA

View Full Version : GridGroupRenderer



laitinen
11 Feb 2010, 4:35 AM
Hi!

I have a GroupingView where I add a new GroupRenderer with the GroupingView.setGroupRenderer method. Then I implement the render method which return the String that is to going to be displayed as the Group row. This works just fine as long as I stick to pure text and simple HTML formatting as colors and so on...

However, my question is if it is possible to have Widgets in the Grouping row? For instance I would like to have a ComboBox at the right end of the Group row? Is this possible?

Thanks!

Nico33
11 Feb 2010, 4:54 AM
see http://www.extjs.com/examples/explorer.html#widgetrenderergrid

laitinen
11 Feb 2010, 5:17 AM
This is an example of a GridCellRenderer, but I am looking for a GridGroupRenderer. The difference is that the render method of GridCellRenderer returns Object while the GridGroupRenderer returns a String.

Anyway, thanks for your very fast reply!