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
1921
Separate header for Hierarchical datas
posted

Hi all,

In my grid i have binded hierarchical data (4 level). Everything working fine.

Think my grid have 10 rows. If i expand the 3rd rows in my grid, it is expanded.

After that, it is very difficult to match cell values and column header from 4th rows. Because of the 3rd exapanded record. It leads confusion to users.

So, I need separate column headers from 4th rows.

This is my first requirement.

I will appreciate your help.

 - Ramesh.

 

 

 

 

 

 

Parents
  • 69686
    posted

             Hello Ramesh,

    You can do this very easily. You can see examples in the XamFeatureBrowser, which is installed together with the components in the section XamDataGrid - Layout and Behavior. If you want every cell to have a label close to it, you can set the LabelLocation property like this 

                <igDP:FieldLayout.Settings>
                  <igDP:FieldLayoutSettings LabelLocation="InCells"/>
                </igDP:FieldLayout.Settings>

    or the header :

            <igDP:XamDataGrid.FieldSettings>
              <igDP:FieldSettings  ExpandableFieldRecordHeaderDisplayMode="AlwaysDisplayHeader"/>
            </igDP:XamDataGrid.FieldSettings>

    Hope this helps.
    Alex.

Reply Children
No Data