removes the specified item
pId | string|number | the parent item's id, i.e. the id of the existing item which has a subform with columns ("null" for the top item) |
index | number | index of newcolumn |
removeItems | boolean | true/false, by default false |
moveAfter | boolean | true/false, by default false |
myForm.removeColumn(pId, index, removeItems, moveAfter);
If the parent item doesn't have any columns, deleting is impossible.
Set the removeItems param to "true" to delete items inside of the column, otherwise items will be moved to the column before (or to the next column if you're deleting the 1st one).
If removeItems is set to "false", the moveAfter param moves items to the next column (prev column if you're deleting last one).
For radio buttons you must specify the pId parameter as an array with 2 elements: