Hi It seems something simple, but how can I clear a panel? I have a panel with a combobox that fill all fields when his value changes. If I change to another panel and get back the old values remained. Thanks a lot Ricardo |
I would create something like this:
I think that would work.. I know, that is kind of manual, but I don't know about any solution offered by FS to automatically clear a panel or even textField.. |
Hi Ricardo, You can't clear a panel but you can clear data sources used in a panel using api_datasource.clear. This will clear all the items on the panel bound to the specified datasource. Any component that is not bound, you need to set to null using api_component.setValue(tx/nr/dt) |