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

RadGridView Inside RadDiagramShape

1 Answer 49 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Vivian
Top achievements
Rank 1
Vivian asked on 18 Feb 2013, 10:00 AM
Hi,

I would like to ask :-

1) How can I place a RadGridView inside the RadDiagramShape? Given that my RadDiagramShape is in the RadDiagramContainerShape.

2) How can I change the background color of the RadGridView instead of black color?

3) How can I remove the first default column of the RadGridView?

Hope that supports will be provided soon as it is in urgent.

Thank you

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 21 Feb 2013, 09:50 AM
Hi Vivian,

I will answer your questions in the following order:
  1. Please note that the Content property of the RadDiagramShape is of type object and you can easily add a RadGridView control. Keep in mind that (if you are not using an MVVM approach) we recommend defining all elements of the RadDiagram in XAML (rather than in code behind).
  2. Regarding your second question you can find detailed description about styling the RadGridView control. Please refer to this article.
  3. Also, in our documentation you can read this article - setting the RowIndicatorVisibility property to Collapsed should do the job.

Please take a look at the attached project and let me know if it works for you.

Kind regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Vivian
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or