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

Custom dropdown header

1 Answer 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bharat
Top achievements
Rank 1
Bharat asked on 21 Aug 2015, 05:31 AM

Hi Team,

I am new to the  Telerik WPF Controls, My requirement is to create a custom header. Which contains 2 header rows one is the default header row and other one is a dropdown header row. Which is the units row of first row columns​, ​all the details we will get it dynamically and also some times the 2nd row exist and some times it does not based on the condition. Can you please provide a sample it. 

 

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 21 Aug 2015, 10:54 AM
Hi,

GridViewColumn's Header is an object and you can place any control to be displayed as a header. Please refer to the Column Headers documentation for further information. You can also check Column Groups/Merged column headers.

In order to specify columns in ViewModel and have them populated in RadGridView, you can check the "Binding Columns From ViewModel" sdk example. Although GitHub is a very well-known platform we saw a better and easier approach for reviewing our examples by developing our SDK Samples Browser.

Regards,
Dimitrina
Telerik
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
GridView
Asked by
Bharat
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or