Focal Point
Tree Control default

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1327078616

February 20, 2012, 06:23 AM
ChristianP
Tree Control default
Hi,

we use a Tree Control to filter on the hierarchy inside our company. The highest node is the default value. How can i disable the default? At the start point i don't want any nodes selected.

Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
February 20, 2012, 03:32 PM
Waz
What do you mean by selected ?

Are you able to give sample code ?

I think this can be done with javascript.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 21, 2012, 02:34 AM
ChristianP
Hi Waz,

i mean the selected node.
Here is my code:
 
<SPAN id=treecontrol2 contentEditable=false style="FONT-SIZE: 8pt; LEFT: 300px; OVERFLOW: auto; WIDTH: 290px; FONT-FAMILY: Arial; POSITION: absolute; TOP: 10px; HEIGHT: 570px" tabIndex=141 elementtype="28" defaultselection="1" persistentuniqueid="compUid_12" defaultlocation="0,0,150,169" boundtovariable="1" requiredfield="1" groupChildren="1"></SPAN> 


Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT