Table fields question #369
-
|
Hi I am loving the project and thanks so much for your effort. I have a couple questions about tables. First is there a way to prepopulate any data in the table? I was hoping to have a couple records populated with the most common options for users. Also is there a way to hide any of the fields in the table form based of dependencies within the form. Such as a table to add router interfaces, a checkbox for vrf, if checked the text box appears on the form for the name of the vrf. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
hi yes. table field can have an expression source. use 'expression' property. it can also have a query and dbconfig property to grab data from a database. |
Beta Was this translation helpful? Give feedback.
-
|
but the table field itself has no features yet like the main form with dependencies. but one day i hope to have subforms that can be nested. |
Beta Was this translation helpful? Give feedback.
This tablefield example, prepopulates the table with an expression. The expression could of course be reading a file, grabbing rest or use dbConfig and query to query a database