craw
craw

How can I change the config of a Widget in the Controller befor it is rendered? I need the DataTable Widget with dynamic columns. Btw. how can I init. a widget in the Controller?

Last updated

Renatio
Renatio

Hi,

Did you figure out how to do this?

I would like to save dataTable values not only in text json column, but also as seperate database table columns.

Last updated

craw
craw

I have no time to explain in detail sorry.. so here is my code: Model: http://pastebin.com/bb1Rxagu

Controller: http://pastebin.com/Bz5HYk0G

chris10207
chris10207

Hi thanks for the tips, really interesting since im trying also to create some dynamic datatable to handle the concept of custom fields for a form. The display of the datatable is ok but no json data is stored in the database. Any idea why ?

chris10207
chris10207

actually the json data are saved when the form is open normally with the standard form but when opened in the popup the json data are deleted - might be a bug somewhere here

1-5 of 5