hi,
how can i hide the header of the grid?
Please reply ASAP,
Thanks,
Rajvel
If you mean the column headers, set the grid.DisplayLayout.ColHeadersVisibleDefault property to No.
What if you want the header to be shown in certain bands? Does this work?
Sure.
Thanks, just found that!
on the same subject, i have a question, i have a grid with two levels of header (0 and 1)
how can i hide level 1 header alone, just the header not the actual column or row values.
You can try setting a style on just that header.
For example,
to keep the space
e.Layout.Bands[0].Columns[0].Header.Style.CustomRules =
"visibility:hidden";
or
to not take up space
e.Layout.Bands[0].Columns[0].Header.Style.CustomRules = "
display:none";