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

Multiple tables in one grid

2 Answers 21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 26 Oct 2010, 07:38 PM
I have two tables, jobs and customers.  I would like to display some data from both tables in one grid.  Should I create a backend view or is there a different way?  I don't want to display all of the data in either table, just a few columns from each into one grid.

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 27 Oct 2010, 11:42 AM
Hello Michael,

You need to gather the two sources together and form a single one to be set as the ItemsSource of your grid. Considering the display of only some properties from the two sources, you may define as much columns as you need and set their bindings to the properties you want.

Greetings,
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
Shakti SIngh Dulawat
Top achievements
Rank 1
answered on 14 Dec 2010, 07:38 PM
Maya ,
Do you have any example for that?

Thanks
Shakti
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Maya
Telerik team
Shakti SIngh Dulawat
Top achievements
Rank 1
Share this question
or