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
250
URGENTT - Different header template for master and child grids
posted

Hi,

I have created control template for HeaderLabelArea.

[ Followed example FeatureBrowser/XamDataGrid/Themes & Custom Styles - Custom HeaderLabelArea Style]

It appears fine. But I don't want to apply this template to child table.

Is there any way to avoid this ? For child table, I just want column headers. Also the following i used

for child table

[ Followed example FeatureBrowser/XamDataGrid/Themes & Custom Styles - Custom ExpandableFieldRecordPresenter Style]

  • 27093
    Suggested Answer
    posted

    Hello,

    A different style can be set for the different FieldLayouts

                <igDP:XamDataGrid.FieldLayouts>

                    <igDP:FieldLayout >

                        <igDP:FieldLayout.Settings>

                            <igDP:FieldLayoutSettings HeaderLabelAreaStyle="..."  />

                        </igDP:FieldLayout.Settings>

                    </igDP:FieldLayout>

                </igDP:XamDataGrid.FieldLayouts>

    Or

    xamDataGrid1.FieldLayouts[1].Settings.HeaderLabelAreaStyle

     

     

    Sincerely,

    Petar Monov,

    DS Engineer,

    Infragistics Bulgaria