Hi there,
Okay the problem here is two-fold: on the one hand youâre struggling with how the user should create new rows in a table and on the other youâre trying to implement a default table which isnât working.
The creation (and deletion) of new rows in a table is most easily done by simply right-clicking the table and choosing the three options (âadd new row aboveâ, âadd new row belowâ or âremove rowâ). You are correct that the table does not include a button to add new rows. This is a design choice to keep the table field somewhat more compact than the DynamicArray
.
The creation of a default table as you present it in your snippet is an example of trying to implement âdynamic defaultsâ. This topic is discussed on this forum multiple times (see Function lookup - set default values optionfield or Change table content when changing dropdown menu selection or Questions on OptionField and accessing Table column data for example) but the short story is that it is currently not possible. The reason that a simple dict of values does work in your case is that by doing that youâre not depending on other params to constitute that default table.
Does that clarify some things for you?
Please let me know if you have more questions!