Dynamically change DataGrid Column Names

How can I do it, dynamically change the Text of each column, and organize the columns as I want them to display.

Thanks

 

PS: is it posible that there is a way that I can basically do the same as a datagrid, as with a ListBox, with the SelectedItemChange, or some, similar Event.

 

Thank You



Answer this question

Dynamically change DataGrid Column Names

  • to_hitesh

    You can add a DataGrid TableStyle wich you can fiddle around with at run time, you can arrange, name and format the columns any way you like.



  • Dynamically change DataGrid Column Names