Reorder the columns in a data grid
-
Hello, I defined the next data grid:
<toolkit:DataGrid
ItemsSource="{Binding LogList}">
</toolkit:DataGrid>And when in my view model file i update the LogList the data in the data grid is also uopdated everything is fine. But there is one problem the automaticly generated columns are not in the order that i would like them to be. How can i fix it? Thanks
-
Hello, I defined the next data grid:
<toolkit:DataGrid
ItemsSource="{Binding LogList}">
</toolkit:DataGrid>And when in my view model file i update the LogList the data in the data grid is also uopdated everything is fine. But there is one problem the automaticly generated columns are not in the order that i would like them to be. How can i fix it? Thanks
columbos14927 wrote:
the automaticly generated columns are not in the order that i would like them to be
The turn off the auto generation and create the columns as you want them.
Never underestimate the power of human stupidity RAH