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

Possibility of implementation control using GridView or PivotGrid

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ytnytn1
Top achievements
Rank 1
ytnytn1 asked on 02 Feb 2017, 08:33 AM

Hello Telerik team!

I would like to implement a control I attached.  So I need to know: is it possible to do it using RadGridView or RadPivotGrid ?Thank you in advance

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 03 Feb 2017, 11:13 AM
Hi,

This behavior can be achieved by using RadGridView. In accordance to the attached picture, I guess that you need to use the following set of features to accomplis this task:
  • ColumnGroups - the collective column headers, displayer over the first-level ones. 
  • CellTemplate - to display the custom "X" controls.
  • Row alternation - to have different backgraound value on every second row.

Regards,
Ivan Ivanov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
ytnytn1
Top achievements
Rank 1
answered on 04 Feb 2017, 04:16 AM

Thanks for replying! 

Can RadGridView columns be bound to some collection for dynamic generation? For example the List of some objects where each object contains nested list<DateTime> and columns need to be bound to that nested list.

0
Accepted
Ivan Ivanov
Telerik team
answered on 08 Feb 2017, 12:09 PM
Hi,

You can set the AutoGenerateColumns to "False" and then define a set of columns that is bound to the respective indexer value of this list. 

Regards,
Ivan Ivanov
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
General Discussions
Asked by
ytnytn1
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
ytnytn1
Top achievements
Rank 1
Share this question
or