I’m using StackPanel and I wonder if there is a smart method to replace one of StackPanel child’s widget by another, not modifying header. Having clicked on one of children, depending on some factors, I would like to (or not) show something another. Any sugestions?
Share
Knowing the index of the child you want to replace (by calling
getWidgetIndex(...)perhaps), you can replace this widget by a new one like so: