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

Radgrid master With several Details

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kasra
Top achievements
Rank 1
Kasra asked on 22 Jul 2016, 07:25 PM

Hi Telerik!

I wounder If it Possible to assign two or more different details tables to one grid?

actually I want to have conditional details tables depends on master's selected row that makes me able to sweep theme base on Data key name's value of master.

3 Answers, 1 is accepted

Sort by
0
Pierre
Top achievements
Rank 1
answered on 25 Jul 2016, 02:27 PM

1 . Possible to assign two or more different details tables to one grid?

Yes there is no limit you can have infinite number in infinite level of nested grid.

2 . have conditional details tables ?

Read this doc to learn how to access nested grid. Telerik doc
Test the nestedview name => do your control.

3 . have conditional details tables depends on master's selected row ?

Ok i just dont get what you want to achiev. But if there is some logic you can do it with the previous tip.

4.  I just dont get it now ..
All this for a theme manager ? Ihave never done a theme manager ben i can see one on every telerik demo.
I am pretty sure you can find some info.

I can't help you more with so little information.

regards,
Pierre LEBON

 

0
Kasra
Top achievements
Rank 1
answered on 25 Jul 2016, 05:00 PM

Many Thanks to your attention

let me explain little more:

First of all I have a grid filed by some data. at the last column of each row I have 4 possible numbers 1 to 4

depends on each number there is a details table

so my scenario is that when user clicks on each row , due to each row's last column number, related details table show up

Note: details has completely different content

0
Pierre
Top achievements
Rank 1
answered on 26 Jul 2016, 06:33 AM
Ok you can do it easly.
1rst do this:
--+-> Master grid : ( Datakey name All the key data you need)
    +-> Detail Table 1
    +-> Detail Table 2
    +-> Detail Table 3
    +-> Detail Table 4

Define what you want do if there is no information.
And if you need to hide some grid . Use Recursive function to go the right table and visibility="false".
You can do the 1rst step with the gui shouldnt take time.

Have Fun Learning Telerik.

Tips dont try to make a nested grid fire an event. dont try to acces a label that is in a nested grid just by calling his name.
Use the doc i linked for that.

Tags
Grid
Asked by
Kasra
Top achievements
Rank 1
Answers by
Pierre
Top achievements
Rank 1
Kasra
Top achievements
Rank 1
Share this question
or