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