Skip to Content
0
Former Member
Nov 23, 2006 at 06:17 PM

Heirarchical Tree Issue

22 Views

Hi,

I am trying to build a tree in a table.

I have built that and now am enhancing the application as per my needs.

What i want to achieve is the following:

The child rows each have a field namely Quantity which the user can change.

For that i first of all need the LeadSlection to fire the change for that particular row.

When i am getting lead selection, its basically showing me the row number within that tree...

For instance,

+ Row1

- Child1

+Row 2

- Chilld2

- Child3

If i choose Child 1 or Child2, value is 0 and if i choose Child3 value is 1...

So its basically taking the LeadSelection within the Parent row...

The idea i am trying here is to amend an attribute of one of the children (Child1, Child2, Child3)

So, how can i achieve this?

Lastly, wheneveri expand a node, say the number of elements is 2, i collapse the node and reexpand it.. and the number of children become 4 and so on...

i have set the ChildrenExpanded property to true onLoadChildren...

Lokking for guidance here..

Regards,

Dev