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

How to display grid hierarchy dynamically?

3 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mark
Top achievements
Rank 1
mark asked on 17 Jul 2012, 08:55 AM
hello,

    Please see attachment. I am working on telerik grid. There are 5 hierarchy in grid.
    Process
    RiskArea
    Risk
    Obj
    Ctrl

     Now I want to use control panel to display grid dynamically. Can telerik support it? e.g. if set display process=on, riskarea=off, risk=off, obj=on, ctrl=on, then in grid, it will only display process->obj->ctrol.

    Any good idea to realize it?

Thanks a lot
Mark

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 17 Jul 2012, 10:01 AM
Hello,

Please check below link once.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx

Let me know if any concern.

Thanks,
Jayesh Goyani
0
mark
Top achievements
Rank 1
answered on 19 Jul 2012, 02:58 AM
Thanks for your reply, Jayesh. But It cannot resolve my issue. Please see my attachment. It need display grid hierarchy dynamically.
0
Eyup
Telerik team
answered on 23 Jul 2012, 07:20 AM
Hi Mark,

Please refer to the following topic which demonstrates defining the grid's structure programmatically:
 RadGrid Programmatic Creation

There you could find how to declare a hierarchial structure of your grid using GridRelationFields according to your specific scenario on current active combobox items.

Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
mark
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
mark
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or