hello everyone please i need help i did make a kitchen configurator and i have a lot of buttons in my widget to select materials or object and i’am using datatable rows there is any way when i select a material or object it store the data table row in a other master data table because i after when i finish select all the materials and objects i will convert the master datatable to json and post it in a database like mongodb
so conclusion : i need widget buttons linked with data table rows and when i select a button it store this row in a other master data table that collect all the data rows so i can post the final collection in a json format
Data Table cannot be edited at runtime (using standard methods). They are intended to be changed only at editor time, and only readable at runtime. Therefore, it will not be possible to fill a row based on a user selection in a widget.
It seems that in your case it is not necessary to use Data Table at all, you can make a system that works with JSON objects and sends them to the database.
The Json Blueprint Utilities plugin is what you need.