This question is locked. New answers and comments are not allowed.
Is there an easy way to find out what level in the tree the current row is in any GridView event?
In the Self-Reference demo, I am trying to only display records without a parent at the 1st level.
Thanks,
In the Self-Reference demo, I am trying to only display records without a parent at the 1st level.
Thanks,
5 Answers, 1 is accepted
0
Hi Ray,
Maya
the Telerik team
In order to provide you with a workable solution, I would need more details about your exact requirements. How do you want you grid to look like and which of the records you want to display ?
Maya
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0
Ray
Top achievements
Rank 1
answered on 02 Nov 2010, 09:30 AM
Hi Maya,
Thanks for your reply, as in your example for self-reference with GridView
http://demos.telerik.com/silverlight/#GridView/Hierarchy/SelfReference
In that case, I'd like see only "Andrew" and "Steven" (ReportsTo none) at the first level of the gridview. and the rest of people can be found under the person they report to.
Thanks,
Ray
Thanks for your reply, as in your example for self-reference with GridView
http://demos.telerik.com/silverlight/#GridView/Hierarchy/SelfReference
In that case, I'd like see only "Andrew" and "Steven" (ReportsTo none) at the first level of the gridview. and the rest of people can be found under the person they report to.
Thanks,
Ray
0
Accepted
Hello Ray,
Maya
the Telerik team
Following up your requirements, I may suggest to you to take a look at our RadTreeListView Control. You may find detailed information in our online documentation too.
Maya
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0
Ray
Top achievements
Rank 1
answered on 02 Nov 2010, 10:02 AM
Thanks Maya, that is a very good alternative,
However, I do like working with GridView since the example provided shows the self-reference features.
All I want is to be able hide some rows according to a condition in GridView in some event.
Is there a way using the GridView to accomplish the objective as to
"
See only "Andrew" and "Steven" (ReportsTo none) at the first level of the gridview.
and the rest of people can be found under the person they report to.
The example is http://demos.telerik.com/silverlight/#GridView/Hierarchy/SelfReference
"
Much appreciated.
Ray
However, I do like working with GridView since the example provided shows the self-reference features.
All I want is to be able hide some rows according to a condition in GridView in some event.
Is there a way using the GridView to accomplish the objective as to
"
See only "Andrew" and "Steven" (ReportsTo none) at the first level of the gridview.
and the rest of people can be found under the person they report to.
The example is http://demos.telerik.com/silverlight/#GridView/Hierarchy/SelfReference
"
Much appreciated.
Ray
0
Accepted
Hi Ray,
Maya
the Telerik team
I am sending you a sample project that demonstrates a possible approach for achieving such a functionality. You may take a look at it and let me know if it corresponds to your requirements.
Best wishes,Maya
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items