cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

tree widget sub child display

Highlighted

tree widget sub child display

Hi,

We are trying to reproduce the browsing of kepware tags in runtime. We are trying to bind the script we wrote to tree widget to bring the exact structure. But since all the last child name ( Alarmstate_x) of different parent are same, the sub child of Alarmstate_x (Alarmstate_x0 to Alarmstate_x4) are repeatedly binded to one child instead of spliting them. I have attached the script and screenshot of the scenario we are trying to produce. Please help us on what we are missing.

 

Thanks,

svisveswaraiya.

1 REPLY 1
Highlighted

Re: tree widget sub child display

@svisveswaraiya- 

 

Hello !

I checked the screen shoot attached . There i found "Alarmstate_x"  has two parents . 
One is "Source_OEM_L1_Alarm_Map_00" and another one is "Source_OEM_L1_Alarm_Map_01" . 
This is voilating the basic Tree defination . Which says "a parent node can have multiple child nodes but a child can not have multiple parents.

Because of this the data is getting displayed in a wrong way in the tree grid. 

 

Thanks

Gunjan Aneja

 

Announcements