Is there currently support for stacked headers built into the control? If not, I'm already headed down the TemplateColumn.ItemTemplate route and I'm struggling to maintain the built in header style support for sorting, grouping, filtering, etc.
Hi,
Each Column offers a HeaderTemplate property for customization.
However, I don't completely understand what you're looking for.
If you could provide more details or even a screenshot of what you're trying to achieve, that'd be very helpful.
Thanks,
-SteveZ
Below is an example of an Infragistics ASP.NET web grid. Your grid, in the ASP.NET world, allows you to stack headers and maintain the functionality of sorting, grouping, resizing, etc. For example, the grid below allows the user to click on the "Act" header and sort the data. I'm successful in acheiving the look of stacked headers with HeaderTemplates, but not as lucky with the functionality. What template in your Silverlight grid should I model in order to stack the headers without loosing "header functionality".
So, this is a feature that we're definitely looking to implement in a future release.
I'm curious to how you're achieving this look.
Are you using 1 TemplateColumn to represent 3 columns? If so, then i can see why you're losing those behaviors, unfortunately there really isn't anyway to keep that functionality with that approach.
Hey Steve,
That is how we're achieving the stacked header look. Can you suggest another approach? Have you seen any time frames around when this feature would be released?
You can set up a header to do this by using the Column.HeaderTemplate property.
<ig:XamGrid> <ig:XamGrid.Columns> <ig:TextColumn Key="Name"> <ig:TextColumn.HeaderTemplate> <DataTemplate> <TextBlock Text="Hello"></TextBlock> </DataTemplate> </ig:TextColumn.HeaderTemplate> </ig:TextColumn> </ig:XamGrid.Columns> </ig:XamGrid>
How about a way of stacking the Words of a Column Header when the Header Text is long, but the data column is narrow?
any news?
this feature would be very helpful....
Thanks....
We are also waiting for the same, I already posted this issue
http://forums.infragistics.com/forums/p/34842/198322.aspx#198322
The feature you're looking for is definitely on our backlog, though as of now, no specific schedule has been set for it. Your feedback certainly helps us prioritize it among our other features.
Devin