Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Clearing select list
Andy Knipp
TS 6.7.1 Win 2003
I have a select list I want to clear, it is defined as required and not multi select.
If I run
IWDatacapture.getItem("/Root/List").setValue(7);
IWDatacapture.redraw();
it selects that one fine. However if I run:
IWDatacapture.getItem("/Root/List").setValue();
IWDatacapture.redraw()
Nothing happens, the previous selection is still set. Putting a 0 in there selects the first one.
I am assuming it is a bug, but can anyone point an obvious mistake ? I guess I wil need to read the options and reset them (pain).
Find more posts tagged with
Comments
There are no comments yet