T
tshad
I am doing a simple datagrid that is autogenerated and it works fine except
the column titles are scewed.
This seems to be because there is a little rectangle with a down arrow that
is about an inch and a half wide that causes all the other columns pushed to
the right and not over the correct columns.
In my xaml, I have:
<WrapPanel Grid.Row="4">
<my
ataGrid Height="200" Name="grdData" Width="469"
ItemsSource="{Binding}" />
</WrapPanel>
And my c# code is:
private void CollectionSample()
{
ProductManager mgr = new ProductManager();
try
{
grdData.ItemsSource = mgr.BuildCollection();
}
catch (Exception exc)
{
}
}
Where the mgr.BuildCollection() returns a collection.
It displays fine except for the column headers.
Thanks,
Tom
the column titles are scewed.
This seems to be because there is a little rectangle with a down arrow that
is about an inch and a half wide that causes all the other columns pushed to
the right and not over the correct columns.
In my xaml, I have:
<WrapPanel Grid.Row="4">
<my
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
ItemsSource="{Binding}" />
</WrapPanel>
And my c# code is:
private void CollectionSample()
{
ProductManager mgr = new ProductManager();
try
{
grdData.ItemsSource = mgr.BuildCollection();
}
catch (Exception exc)
{
}
}
Where the mgr.BuildCollection() returns a collection.
It displays fine except for the column headers.
Thanks,
Tom