cancel
Showing results for 
Search instead for 
Did you mean: 

Selected Property of tree UI element

ashish_shah
Contributor
0 Kudos

Hi experts ,

For Tree UI element , I need to set its Default value of selecting the first node to false.

Let me given you an example.

I am using simple non recursive tree , it has 1 TreeItemtype and it has thee values say a , b ,c .

Now i have poppulated the tree node with this 3 elements values.

When ever the tree is displayed , its first element is always selsected by default , i want to change it to be deselected by default , is there any way ?

Regards,

Ashish Shah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ashish,

Use the LeadSelect method on the Context Node.

Set it to -1 for not selecting any value by default.

Regards,

Alka.

Answers (1)

Answers (1)

Former Member
0 Kudos

set d leadselection property to -1