We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Insert a control to a StackedHeader dynamically

Thread ID:





116136 Apr 10,2014 09:57 AM UTC Apr 29,2014 12:15 PM UTC ASP.NET Web Forms (Classic) 6
Tags: GridGroupingControl
Asked On April 10, 2014 09:57 AM UTC


I am working at a Grid and I can expand my rows like in this example: http://asp.syncfusion.com/demos/ui/gridgrouping/Hierarchy/SelfReferentialGrid/cs/treegrid.aspx.

But I need also Plus-Button in the StackedHeaders. In the Headers, this is not a Problem. But in the StackedHeaders I cant handle this with an ItemTemplate like in the Rows or in the normal Headers.

Is there a way to add Webcontrols to StackedHeaders?

Thank you.

Satheeskumar S [Syncfusion]
Replied On April 15, 2014 09:23 AM UTC

Hi Weber,

Thanks for your interest in Syncfusion Products.

We regret to let you know that your requirement  “To add Controls in Stacked Header” is not feasible as per our current implementation of grid.

Please let us know if you need any further assistance.


Satheeskumar S

Replied On April 15, 2014 01:32 PM UTC

thank you for your response. My goal is it, to implement a column drill down. With a control in a stacked header i can implement this. Fotunatelly it doesnt work.

Further ideas from me are:
1. Is it possible to catch click events that occured on the stacked headers? And of course I need the row index and column index from the clicked stacked header in the handler. Than I will add a background image that looks like button.

2. Is it possible to add controls to specific cells? I have tried this but the control is only added to the last row. In this scenario I can remove the normal headers and the stacked heders....and I will build my own headers with normal cells and a control in it.

Thank you in advance.

Perhaps you have some more ideas to implement a column drill down!?

Replied On April 15, 2014 01:40 PM UTC

EDIT: In the upload is a example from a column drill down which i need. It is hierarchical.

Attachment: upload_cbf2bc50.zip

Eswari S [Syncfusion]
Replied On April 22, 2014 10:57 AM UTC

Hi Weber,


Thanks for your update.


Could you please let us know the requirement of adding (+/-)  button in stacked header  ? Whether your requirement is to hide any column/ row in any order or some other specific requirement, so that we can analyze based on that and provide you better solution.


Please let us know if you have any queries.



Eswari S

Replied On April 23, 2014 04:30 AM UTC

Yes, it is for hiding and expanding the columns. It should be a column drill down. For example: you got year in header. And after you clicking on the + button you have a drill down and now are all months in the header.

Satheeskumar S [Syncfusion]
Replied On April 29, 2014 12:15 PM UTC

Hi Weber,

Thanks for your update.

We suspect that your requirement is related to our OLAP Grid and Silverlight Pivot Grid. So could you please refer the below links to confirm whether this is your requirement.

OLAP Grid -



Silverlight Pivot Grid –



Please let us know if you need any further assistance.



Satheeskumar S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon