Dear all,
In my project I currently do the following:
1. Fill a datatable from DB
2. Have a DataGridTableStyle mapped with the datatable to hide some columns
3. the DataGridTableStyle is assigned to a datagrid
Everything works fine except that I can't arrange the columns, I'm forced to use the order of columns in the SQL Statement that filled the DataTable.
Any advice on how to order the columns?
In my project I currently do the following:
1. Fill a datatable from DB
2. Have a DataGridTableStyle mapped with the datatable to hide some columns
3. the DataGridTableStyle is assigned to a datagrid
Everything works fine except that I can't arrange the columns, I'm forced to use the order of columns in the SQL Statement that filled the DataTable.
Any advice on how to order the columns?