HI,
How to hide specific template column's header in xamgrid ? I dont want to hide the whole column by Visibility.Collapsed, I would like only to get rid of the header and leave the column content there. i want column with blank header label.
Many Thanks
VN
Hello VN,
Presuming that you would like to collapse the header cell of a template column entirely, I can suggest you set the Visibility property of its respective HeaderCellControl to Collapsed through the HeaderStyle.
<ig:TemplateColumn.HeaderStyle> <Style TargetType="igPrim:HeaderCellControl"> <Setter Property="Visibility" Value="Collapsed" /> </Style></ig:TemplateColumn.HeaderStyle>
If you would like to remove the text from the header only, you can use the HeaderText property of the TemplateColumn.
I have attached a sample application that demonstrates the approach from above.If you have any questions, please let me know.