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

Reference parent item data item

1 Answer 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 22 Sep 2008, 10:25 PM
Hello,

I have a grid with a series of detail tables... Here's basically what I'm going for

Parent Item
    Child Item - Visible = ParentItem.ShowChild

Is this possible to do? Here, ParentItem.ShowChild is a field in an SQL data source.

The scenario is that we have a list of items a person is either involved in or expressed an interest in... these are grouped at the top level. For the ones they are participating in, we want to show the other participants emails... but we want these hidden for the items they are not participating in...

Thanks,

Mike

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 25 Sep 2008, 01:47 PM
Hi Mike,

You can find attached a sample page created to demonstrate how this can be implemented. In RadGrid's PreRender event, we check if a certain boolean field for every item is true and based on that, enable or disable the nested item and expand functionality.

Sincerely yours,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or