Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
The Simplest Question!! How to disable or hide the header of grid?
posted

How to disable or hide the header of xamDataGrid? 

I think this is easy but up to now I can not find good answer. I even try to set the LabelHeight to 0 to hide it but it still display something on the top.

Someone can help me?

 

Parents
No Data
Reply
  • 1921
    Verified Answer
    posted

    Hi Phoebelight,

    In Xaml:

    <igDP:FieldLayoutSettings LabelLocation="Hidden"></igDP:FieldLayoutSettings>

    In .cs

                this.myGrid.FieldLayoutSettings.LabelLocation = Infragistics.Windows.DataPresenter.LabelLocation.Hidden;

     

    Regards,

    Ramesh.P

     

Children
No Data