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

do I have to have text in my nodes?

3 Answers 44 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Giselle
Top achievements
Rank 1
Giselle asked on 26 May 2011, 07:55 PM
My project requires me to have an expand/collapse feature (like the tree view), but my content isn't text - it's a bunch of labels and gridviews. Is there a way to implement this with the tree view? Users want the +/- feature, but my content isn't like what's posted on the examples. How would I go about accomplishing this?

3 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 28 May 2011, 12:30 PM
Hi Giselle,

Could you illustrate your requirements in detail? Why do you want to host instances of RadGridView inside RadTreeView control? The RadGridView control supports different hierarchies which may match your requirements. You can read more about them in the online documentation.

All the best,
Svett
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Giselle
Top achievements
Rank 1
answered on 01 Jun 2011, 02:17 PM
What we have is about 15-20 labels and their corresponding datagrids for one of our sections on a page/form.
We'd like to condense the section, and allow the user to expand/collapse, so that the other sections of the form can be perused quickly without having to scroll through all of the grids.

Will RadGridView work for this purpose then instead? It has the format/layout using the hierarchial view, but can I nest these controls in that manner?
0
Svett
Telerik team
answered on 06 Jun 2011, 09:12 AM
Hi Giselle,

You can create a custom node element where you can host any kind of content that you want. I am enclosing a sample project that demonstrates how you can do it.

Regards,
Svett
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Treeview
Asked by
Giselle
Top achievements
Rank 1
Answers by
Svett
Telerik team
Giselle
Top achievements
Rank 1
Share this question
or