M
Me
Hello,
I populate a dataset that is bound to a datagrid. I also create a dataView
in order to to sort the dataGrid by column. I have 5 columns.
Scenario 1. I sort on 5 columns. I want to display all 5 columns. ( This
code had been completed).
Scenario 2. I sort on 3 columns. I only want to display those 3 columns.
(The sorting portion is done, however, all 5 colunms get displayed.)
Scenario 3. I sort on 2 columns. I only want to display those 2 columns.
(The sorting portion is done, however, all 5 colunms get displayed.)
How can I display only the number of columns that I desire in such a way
that I can change which columns should be displayed at run-time?
I want to go back and forth amongst the above scenarios.
Thanks
I populate a dataset that is bound to a datagrid. I also create a dataView
in order to to sort the dataGrid by column. I have 5 columns.
Scenario 1. I sort on 5 columns. I want to display all 5 columns. ( This
code had been completed).
Scenario 2. I sort on 3 columns. I only want to display those 3 columns.
(The sorting portion is done, however, all 5 colunms get displayed.)
Scenario 3. I sort on 2 columns. I only want to display those 2 columns.
(The sorting portion is done, however, all 5 colunms get displayed.)
How can I display only the number of columns that I desire in such a way
that I can change which columns should be displayed at run-time?
I want to go back and forth amongst the above scenarios.
Thanks