5 Answers, 1 is accepted
0
Hello prakash ,
Petar Mladenov
the Telerik team
I prepared a solution for you which demonstrates how you can use a RadGridView inside a RadTreeViewItem's Header. Please let us know if this could fit in your scenario or not.
Greetings,Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
prakash
Top achievements
Rank 1
answered on 13 Jan 2012, 02:26 PM
Hi Petar Mladenov,
Thanks for your response unfortunately It doesn't solve my requirement.
My Requirement: Tree view shows list of employees and on selecting each employee node I need to show the employee details in a grid. For example purpose I've specified using Employee details. Could you please provide the solution at the earliest.
Thanks,
Prakash.
Thanks for your response unfortunately It doesn't solve my requirement.
My Requirement: Tree view shows list of employees and on selecting each employee node I need to show the employee details in a grid. For example purpose I've specified using Employee details. Could you please provide the solution at the earliest.
Thanks,
Prakash.
0
Hi prakash ,
You can place the GridView as a RadTreeViewItem which is child of the selected item like so:
Please give it a try and let us know if this satisfies you.
All the best,
Petar Mladenov
the Telerik team
You can place the GridView as a RadTreeViewItem which is child of the selected item like so:
<
telerik:RadTreeView
x:Name
=
"tree"
Background
=
"AliceBlue"
IsExpandOnSingleClickEnabled
=
"True"
>
<
telerik:RadTreeViewItem
Header
=
"Employee A"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Text
=
" Grid Alpha "
FontWeight
=
"Bold"
FontSize
=
"14"
VerticalAlignment
=
"Center"
/>
<
telerik:RadGridView
Grid.Column
=
"1"
x:Name
=
"gridView"
Height
=
"120"
HorizontalAlignment
=
"Stretch"
Width
=
"500"
/>
</
Grid
>
</
telerik:RadTreeViewItem
>
</
telerik:RadTreeView
>
All the best,
Petar Mladenov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Sri
Top achievements
Rank 1
answered on 18 Dec 2012, 04:23 AM
Hi,
I added radgridview inside treeview as mentioned below. But the radgrid view is adding additional column at the end.
Could you please suggest.
Thank,
Sri
I added radgridview inside treeview as mentioned below. But the radgrid view is adding additional column at the end.
Could you please suggest.
Thank,
Sri
0
Hello Sri,
Please take a look at this article and let us know if you have more questions.
Regards,
Tina Stancheva
the Telerik team
Please take a look at this article and let us know if you have more questions.
Regards,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.