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

Header-get property name

1 Answer 49 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 30 Nov 2016, 06:45 PM

Hello,

I would like to get the property name of the header each time the user will click it.

As shown in the attachment, if I click "Generic Name" the program should be able to get its property name "GenericName".

Thanks

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 05 Dec 2016, 08:15 AM
Hi Joshua,

Thank you for contacting us! 

In this scenario you can utilize our ColumnHeaderTap command.

I have prepared small example showing how to achieve the desired behavior.

Regards,
Tsvyatko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataGrid
Asked by
Joshua
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or