You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am just starting with this and have mimicked the sample code using columns from data in my application. I've noticed that (on Windows), the column headers do not align with the data, as shown in the attached screen shot.
Is there something I'm doing wrong in the setup of the grid. Below is the datagrid definition in the xaml file.
Hi,
I am just starting with this and have mimicked the sample code using columns from data in my application. I've noticed that (on Windows), the column headers do not align with the data, as shown in the attached screen shot.
Is there something I'm doing wrong in the setup of the grid. Below is the datagrid definition in the xaml file.
<dg:DataGrid x:Name="dataGrid" Grid.Row="1" RowTappedCommand="{Binding RowSelected}" SelectionMode="Single"
ActiveRowColor="LightBlue">
dg:DataGrid.Columns
<dg:DataGridColumn Title="Peak 1 (keV)" PropertyName="Peak1" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="Peak 2 (keV)" PropertyName="Peak2" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="eV/ch" PropertyName="EVch" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="Gain" PropertyName="Gain" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="Offset" PropertyName="Offset" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="P1 Calc (keV)" PropertyName="P1Calc" SortingEnabled="false"></dg:DataGridColumn>
<dg:DataGridColumn Title="P2 Calc (keV)" PropertyName="P2Calc" SortingEnabled="false"></dg:DataGridColumn>
</dg:DataGrid.Columns>
</dg:DataGrid>
Thanks,
Rich
The text was updated successfully, but these errors were encountered: