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
120
column Hiding
posted

Hi, All

How to hide colum in Xam datagrid.

Please Reply me ASAP.

Thanks. 

  • 915
    Offline posted

    To hide a particular column in XAML you would use something like the following.

    <igDP:XamDataGrid x:Name="myGrid" >

       <igDP:XamDataGrid.FieldLayouts>

          <igDP:FieldLayout>

             <igDP:FieldLayout.Fields>

                <igDP:Field Name="myColumn" Visibility="Collapsed"  />

             </igDP:FieldLayout.Fields>

          </igDP:FieldLayout>

       </igDP:XamDataGrid.FieldLayouts>

    </igDP:XamDataGrid>

    Hope this helps.