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
3627
Can I hide Column Headers?
posted

Is it possible to hide column headers? Using a drill-down grid as a 'selection list' that displays a single column would be cleaner without the header.

Parents
  • 8576
    Verified Answer
    Offline posted
    Hi -
     
    You can hide the column headers by setting the LabelLocation property on the FieldLayoutSettings object (via the XamDataGrid.FieldLayoutSettings property for all FieldLayouts or via the FieldLayout.Settings property for a specific FieldLayout).  Here is an example of how to hide column headers for all FieldLayouts:
     

    <igDP:XamDataGrid>

    <igDP:XamDataGrid.FieldLayoutSettings>

    <igDP:FieldLayoutSettings LabelLocation="Hidden"/>

    </igDP:XamDataGrid.FieldLayoutSettings>

    </igDP:XamDataGrid>

    Joe Modica
     
Reply Children