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

[Solved] Multiple ExpandColumn in the same grid

7 Answers 167 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dominic
Top achievements
Rank 2
Dominic asked on 15 Apr 2009, 04:08 PM
Hi

I want to know, is this possible to add more than one ExpandColumn to the same radGrid ?I want to be able to have multiple expand column associated with different tableview. If so, how i can specify wich expand column a detail table is associated with and where i can find some samples for that kind of scenario ?

Thanks in advance for your help.

7 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 16 Apr 2009, 03:25 PM
Hi Dominic,

I suggest that you look at the following live demos which shows the desired functionality.
Declarative relations
Programatic binding

I hope this information helps.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dominic
Top achievements
Rank 2
answered on 16 Apr 2009, 03:57 PM
Hi

Thanks for the answer.

Maybe i wasn't clear enough in my explanation. I know how i can create a multi level grid but i'm looking to a solution with multiple expandColumn on wich i'll bind different detailsTable. I try to know how each detailstable is associated with each expand column, how i can specify wich expandcolumn will display wich detailsTable. Thanks for your help and sorry if my english is not really good...


Thanks
0
Pavlina
Telerik team
answered on 17 Apr 2009, 03:42 PM
Hello Dominic,

Find attached a small runnable application which handles the desired functionality. Give it a try and let me know how it goes and if I am leaving something out. 

I hope this helps.

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dominic
Top achievements
Rank 2
answered on 17 Apr 2009, 04:15 PM
Hi

Thanks for the answer and for the proposed demo.

Unfortunatly i'm really looking for a solution to be able to display "more than one" expand column at the first level of the grid, so i'll be able to make multiple relation with the masterTable data. By example, i have a grid with customers list and i want to display the associated orders for that customer with one expand column and with another expand column i want to display the associated contacts for that customer but i dont want to have multiple detailstable at the same level as i saw in the demo on the Telerik website i need to have multiple expandColumn at the first level of the grid. So i wiish to build a grid with the following structure.

RadGrid (Customers list)
    - ExpandColumn1
            - Associated Orders
                - Order details
    - ExpandColumn2
            - Associated Contacts
                - Communication with the associated contact

Sorry if i'm english is not clear enough to explains my wishes clearly.

Thanks for your help and patience.
0
Pavlina
Telerik team
answered on 21 Apr 2009, 12:42 PM
Hi Dominic,

More information about how to have a structure resembling a standard hierarchy, which can be greatly customized, without setting hierarchical relations between the master and detail levels is available in the following live demo:
Hierarchy with templates

This feature of RadGrid gives you the freedom to design the overall structure and appearance of detail tables in hierarchical grid. Thus based on your custom preferences you have the ability model the look and feel of the child table container in order to display the detail info in non table-dependant format.  The functionality is especially useful when you would like to present the related content providing separate view for each detail item or tabs for navigation between the entries.

Find more information in the following article:
NestedView template

I hope this helps.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dominic
Top achievements
Rank 2
answered on 21 Apr 2009, 01:20 PM
Hi

Thanks for your answer.

OK so if i understand well what you said, i cannot create a grid with multiple expand columns i have to use  Grid / Hierarchy with Templates ?

Thanks a lot for your help
0
Pavlina
Telerik team
answered on 23 Apr 2009, 02:51 PM
Hi Dominic,

Indeed, in order to achieve the desired functionality with RadGrid, you have to use Hierarchy grid with detail tables, or Hierarchy with templates.

I hope this helps.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Dominic
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Dominic
Top achievements
Rank 2
Share this question
or