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

Conditionally Format Parent Row or MasterTable columns

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott Marx
Top achievements
Rank 1
Scott Marx asked on 15 Jan 2011, 02:55 AM
I am trying to conditionally edit a parent row in a hierarchy grid. How do I access just the row of the parent or master table?

It would be nice if the GridDataItem had a IsParent.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Jan 2011, 06:04 AM
Hello Scott,

Please take a look at the following documentation which shows how to distinguish the grid rows in hierarchy.
Distinguish grid rows in hierarchy on ItemCreated/ItemDataBound

Hope this helps,
Princy.
Tags
Grid
Asked by
Scott Marx
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or