Dear CNO team!
I have a container with "Table Layout" (setup through designer) and some components inside. If I call addComponent(idx, new Component()) inside the beforeForm() method. The Component is always shown in last location and not in "idx"-th. The same thing happens if I call replace(oldComopnent, new Component(), null) method. The oldComponent is removed, but the new Component is shown in last location. This happens in simulator and Android (I did not test others).
But if I change container layout to "Grid Layout" (changed through designer) everything works as expected. Is there anything special one has to do in case of "Table Layout"?
Regards.