Transaction

Functions

Link copied to clipboard
fun add(group: Group, idx: Int? = null): Boolean
fun add(groups: Collection<Group>, idx: Int? = null): Boolean
fun add(field: Field<*>, group: Group, idx: Int? = null, skipGroupValidation: Boolean = true): Boolean
fun add(fields: Collection<Field<*>>, group: Group, idx: Int? = null, skipGroupValidation: Boolean = true): Boolean
Link copied to clipboard
fun commit()

Apply all pending operations immediately without reloading the form, then clear the queue

Link copied to clipboard
fun remove(group: Group?, idx: Int? = null)
fun remove(groups: Collection<Group>, idx: Int? = null)
fun remove(field: Field<*>?, group: Group? = field?.parent, idx: Int? = null)
fun remove(fields: Collection<Field<*>>, group: Group?, idx: Int? = null)