|Re: (Really) dynamic form fields? [message #1711254 is a reply to message #1711017]
||Wed, 14 October 2015 11:08
| Jannik Malken
Registered: October 2015
I'm still trying to implement dynamic forms in my Scout application...
Is it somehow possible to put whole FormFields (also Container elements like SequenceBoxes) in a table cell? Thereby you would be very flexible and each row of the table could contain a variable number of fields. You could predefine FormFields an add instances of it to the table. Would be very nice...
Instead, the obvious approach to use different columns (SmartColumns, StringColumns, BooleanColumns) , is also very static as you are not able to change the number of elements from row to row.
Another benefit of FormFields in cells would be enhanced capability of changing the rendering/style of the elements. I don't like that the table cells only have this tiny 'editable' hint icon in the upper left corner and their actual content is only visible when the cell is clicked.
As a test I tried to put a SequenceBox with a Button as VALUE in a parametrized AbstractColumn<SequenceBox> cell. It works fine without any problems, but as supposed, there is no magic renering the elements in the table view.
So guys, please help us to understand, how it is possible to achieve (really) dynamic forms with Scout. There has to be some workaround or even built-in feature that we are missing.
[Updated on: Wed, 14 October 2015 11:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02986 seconds