|Adding TAB boxes programmatically dynamically via a button [message #1179827]
||Sun, 10 November 2013 15:26
| Dominic Hanlan
Registered: July 2009
this is a slightly different question to my earlier question of adding table fields programmatically. That involved knowing ahead of displaying the form how many new tables were to be added.
This a question of having a tab box with an initial single tab entry. There is an add tab box button which should allow for an extra tab box to be added on each press.
I have tried the getEnclosingFieldList from the button execClickAction method and used the add new AbstractGroupBox approach this has no effect when the button is pressed.
Is there a method on the AbstractTabBox that needs to be called to update the display?
This is a generic question really as I can see the possibility of adding any type of field after the page has been displayed, so what is the mechanism for adding and updating the fields child list?
[Updated on: Fri, 15 November 2013 12:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01985 seconds