Hi, all
This tip may be useful to other.
When you hide an item which is managed by SectionItem, the item is showed up again when the SectionItem is closed and opened. I'd like to have the item visible state is restored to the original state before it is closed. I had a workaround by looking into JS code.
instead of using setVisible, hide or show. I used this code.
item.setAttribute("showIf", "true") or item.setAttribute("showIf", "false").
-jason
This tip may be useful to other.
When you hide an item which is managed by SectionItem, the item is showed up again when the SectionItem is closed and opened. I'd like to have the item visible state is restored to the original state before it is closed. I had a workaround by looking into JS code.
instead of using setVisible, hide or show. I used this code.
item.setAttribute("showIf", "true") or item.setAttribute("showIf", "false").
-jason
Comment