DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
Add foundset to the list of foundsets used to create the tree's root nodes.
Returns the number of added root nodes.
Note: the bean will use a clone of the foundset, so any changes on the foundset parameter will be ignored in the tree.
//Add foundset to the list of foundsets used to create the tree's root nodes.
Returns the number of added root nodes.
Note: the bean will use a clone of the foundset, so any changes on the foundset parameter will be ignored in the tree.
var addedRootNodes = elements.customer_id.addRoots(foundset);
Set method to be called when a drag is started on the tree. For more details about the method arguments and return value check the same property of a form
Parameters callback
Returns void
Sample
elements.customer_id.setOnDrag(onDrag);
setOnDragEnd
void
setOnDragEnd
(callback)
Set method to be called when a drag of on the tree is ended. For more details about the method arguments and return value check the same property of a form
Parameters callback
Returns void
Sample
elements.customer_id.setOnDragEnd(onDragEnd);
setOnDragOver
void
setOnDragOver
(callback)
Set method to be called during a drag over the tree. For more details about the method arguments and return value check the same property of a form
Parameters callback
Returns void
Sample
elements.customer_id.setOnDragOver(onDragOver);
setOnDrop
void
setOnDrop
(callback)
Set method to be called on a drop on the tree. For more details about the method arguments and return value check the same property of a form