PDA

View Full Version : Adding a control to a group in a GroupingView



markmacumber
16 Aug 2009, 3:22 PM
I'm currently extending the GroupingView class to have some custom event handling, etc... and I have been using the setGroupRenderer method to render a nice grouping layout, just like in the demo's.

What I would love to do is to get a widget into that grouping area, is this possible? Im currently rendering some custom HTML that I hook into some JSNI, which, although it works, doesnt look very Gxt-ish, can I somehow create a button, then "get" its HTML to use in the setGroupRenderer method? And if so, how would I hook up the events to that button?

Cheers,
Mark