Hi,
I am developing a simple form layout builder where the user can reorder form items by dragging/dropping them in a tree with sectionitems/formitems. The user can also specify colspan, rowspan and new row.
I can set the colspan, rowspan directly on a field. My question is how can I reorder the fields on a form? Can I directly manipulate the form.items array and then call redraw? Or is this a dangerous approach?
Or should I recreate the fields through setFields?
gr. Martin
I am developing a simple form layout builder where the user can reorder form items by dragging/dropping them in a tree with sectionitems/formitems. The user can also specify colspan, rowspan and new row.
I can set the colspan, rowspan directly on a field. My question is how can I reorder the fields on a form? Can I directly manipulate the form.items array and then call redraw? Or is this a dangerous approach?
Or should I recreate the fields through setFields?
gr. Martin
Comment