Radgrid master With several Details

4 posts, 0 answers
  1. Kasra
    Kasra avatar
    7 posts
    Member since:
    Jul 2016

    Posted 22 Jul Link to this post

    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.

  2. Pierre
    Pierre avatar
    56 posts
    Member since:
    Jun 2016

    Posted 25 Jul Link to this post

    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

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kasra
    Kasra avatar
    7 posts
    Member since:
    Jul 2016

    Posted 25 Jul Link to this post

    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

  5. Pierre
    Pierre avatar
    56 posts
    Member since:
    Jun 2016

    Posted 26 Jul Link to this post

    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.

Back to Top