Possibility of implementation control using GridView or PivotGrid

4 posts, 1 answers
  1. ytnytn1
    ytnytn1 avatar
    5 posts
    Member since:
    Apr 2016

    Posted 02 Feb Link to this post

    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

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1176 posts

    Posted 03 Feb Link to this post

    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.
  3. ytnytn1
    ytnytn1 avatar
    5 posts
    Member since:
    Apr 2016

    Posted 03 Feb in reply to Ivan Ivanov Link to this post

    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.

  4. Answer
    Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1176 posts

    Posted 08 Feb Link to this post

    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.
Back to Top