Recently had a customer ask a question:

 

" We have a requirement to added header renderer (i.e. button) on grouped column header.

I have checked the documents but I am unable to find any examples in it related to the above requirement.

Please let me know how to implement Header renderer in grouped column header."

 

Turns out this is possible, but requires a little bit of coding - not possible using just XML configuration. Attached is a small example that demostrates this, and a screenshot is below:

Also, please make sure you understand the concept of renderers before you look at this example, here are a few helpful links:

http://htmltreegrid.com/newdocs/html/CellsandRenderers.html
http://htmltreegrid.com/newdocs/html/RecyclingVirtualizationandBuffer.html 
http://htmltreegrid.com/newdocs/html/CustomRenderers.html
http://htmltreegrid.com/newdocs/html/ClassFactories.html

That said, below is what this looks like:


 

And the code is below:

 

ColumnGroupRenderer.html (17.67 kb)