This is a migrated thread and some comments may be shown as answers.

WPF GridView RowHeader bind to DataTable

1 Answer 163 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Walter
Top achievements
Rank 1
Iron
Walter asked on 19 Mar 2020, 07:05 PM
I want the first column to be the row header, or some way of defining the row header.  I'm auto generating the columns because I have a dynamic number of columns.  Any ideas?

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 24 Mar 2020, 08:57 AM

Hello Walter,

Speaking generally, you can control the order of the autogenerated columns by setting their DisplayIndex in the AutoGeneratingColumn event. Do give this a try and let me know how it goes. 

If that is not what you had in mind, can you share some more information about the desired behavior? You can send a picture of the expected result in order to better illustrate the scenario. 

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
GridView
Asked by
Walter
Top achievements
Rank 1
Iron
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or