This is a migrated thread and some comments may be shown as answers.

Hide Column Header Expand/Collapse Button

1 Answer 79 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 17 Oct 2013, 12:24 AM
Hi,
I want to hide my expand/collapse button of Column header in Rad Pivot Grid

1 Answer, 1 is accepted

Sort by
0
Syed
Top achievements
Rank 1
answered on 17 Oct 2013, 03:42 AM
I have done that in Celldatabound

  if (e.Cell is PivotGridColumnHeaderCell)
        {
            if (e.Cell.Controls.Count > 1 )
            {
                e.Cell.HorizontalAlign = HorizontalAlign.Center;
                (e.Cell.Controls[0] as Button).Visible = false;
            }
        }
Tags
PivotGrid
Asked by
Syed
Top achievements
Rank 1
Answers by
Syed
Top achievements
Rank 1
Share this question
or