I have 4 tree controls that logically are connected to one dropdown box. Depending on the value that is selected in the dropdown box one of the 4 tree controls is shown. And the previous control value that was selected should be reset to FOC_NONE or the top hierarchy element.
i used the following code
var defaultValues_HIER = new Array(); defaultValues_HIER.push('FOC_NONE');
after changing the the lst_org_unit_type control the dispalyed tree control have all checkboxes DE selected, BUT when i run the report the old value are still send to the procedure.
May be you can suggest me some other way of resetting the selected values in tree control?
treecontorol1.value = 'FOC_NONE' and parent.parent.IbComposer_setCurrentSelection('treecontorol1', 'FOC_NONE') did not work.
Thank you, AntonThis message has been edited. Last edited by: <Kathryn Henning>,
This will not collapse the tree control, but it will deselect anything checked.
WebFOCUS 8.1.05
August 14, 2015, 05:00 AM
Anton
Thank you for your advice. But this did not help. The function did remove the checked in checkbox, but did still pass the parameter to the source. May be it is the issue with hiding the trees or my 'bad' js. But thank you anyway.