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
1690
Disappeared header of UnboundField
posted

Hi,

I am modifying existing WPF application which uses XamDataPresenter as grid on many forms. In one of the form grid should have second row of headers on a top of real column headers pair, and there are 7 such headers - for each day of week. Top header became narrow and text disappeared:

Narrow header

However, on the same form, on different tab, another XamDataPresenter displays data in similar way without any problem:

Correct header

Both grid have similar settings, they use UnboundField for top headers:

<igDP:UnboundField Name="Monday"
           Column="0"
           ColumnSpan="2"
           Row="0"
           RowSpan="1">
          <igDP:UnboundField.Settings>
                  <igDP:FieldSettings CellContentAlignment="LabelOnly" />
          </igDP:UnboundField.Settings>
</igDP:UnboundField>

What could be a problem here ? Should I explicitly create style for LabelPresenter to fix it ?

Thanks,

Ed

Parents
No Data
Reply
  • 22015
    posted

    Hello Ed,

     

    Thank you for your post!

     

    I have been looking into your issue and have created a small sample application, in order to test the issue, that you have reported. I was not able to reproduce it. I am attaching the sample application I have been testing with.

    Would you please modify the attachment with the functionality you are using, so it shows the issue? This way I would be able to further investigate this issue for you.

     

    Thank you for the cooperation. Looking forward to hearing from you.

    DataGrid_GroupedHeader.zip
Children