Child pages
  • DB Tree View

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{div:style=display:none}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.\\		\\		Enter additional information related to this 'class' inside the \{div} macro with 'id=description'{div}
{div:id=description}{div}\\ 

{table:id=|class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Known Subclasses{th}{tr}{tr}{td}{span:class=sWordList}[DB Tree Table View]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Return Types{th}{tr}{tr}{td}{span:class=sWordList}[Binding]{span}{span:class=sWordList}[RelationInfo]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#bgcolor]
Property for getting/setting the background color of the bean.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#enabled]
Property for getting/setting the enabled state of the bean{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#fgcolor]
Property for getting/setting the foreground color of the bean.{td}{tr}{tbody}{tbody}{tr}{td}[Object]\[]{td}{td}[#selectionPath]
Get/Set the selection (path), array with pk records values (only single pk key supported){td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toolTipText]
Property for getting/setting the text of the bean's tooltip{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#transparent]
Property for getting/setting the transparent or opaque state of the bean{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#visible]
Property for getting/setting the visibility of the bean.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#addRoots]\(foundSet)
Add foundset to the list of foundsets used to create the tree's root nodes.{td}{tr}{tbody}{tbody}{tr}{td}[Binding]{td}{td}[#createBinding]\(args)
Create and add binding object for a database table used to set data bindings for nodes.{td}{tr}{tbody}{tbody}{tr}{td}[RelationInfo]{td}{td}[#createRelationInfo]\()
Create relation info object used to set multiple child relations for a tree node{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getHeight]\()
Returns the height of the tree.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getLocationX]\()
Get the x coordinate of the location of the tree.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getLocationY]\()
Get the y coordinate of the location of the tree.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getName]\()
Returns the name of the tree.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWidth]\()
Returns the width of the tree.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#isNodeExpanded]\(nodePath)
Check the path (array with pk records values (only single pk key supported)) expanded status{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#refresh]\()
Refresh the tree display{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeAllRoots]\()
Remove all root foundsets{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setExpandNode]\(nodePath, expand_collapse)
Expand/collapse the path, array with pk records values (only single pk key supported){td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setFont]\(font)
Sets the specified font as the font of the tree.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setLocation]\(x, y)
Sets the location of the tree.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setNodeLevelVisible]\(level, visible)
Set the level of visible nodes (expand or collapse to certain level){td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setOnDrag]\(fOnDrag)
Set method to be called when a drag is started on the tree.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setOnDragEnd]\(fOnDragEnd)
Set method to be called when a drag of on the tree is ended.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setOnDragOver]\(fOnDragOver)
Set method to be called during a drag over the tree.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setOnDrop]\(fOnDrop)
Set method to be called on a drop on the tree.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setRowHeight]\(height)
Set row height{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setSize]\(w, h)
Sets the size of the tree.{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=bgcolor}{tr:id=name}{td}h6.bgcolor{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the background color of the bean.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- the background color{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.bgcolor = "#FFFFFF";
var x = elements.customer_id.bgcolor;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=enabled}{tr:id=name}{td}h6.enabled{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the enabled state of the bean{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean] -- the enabled state of the bean{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var b = elements.customer_id.enabled;
if (b) elements.customer_id.enabled = false;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=fgcolor}{tr:id=name}{td}h6.fgcolor{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the foreground color of the bean.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.fgcolor = "#000000";
var y = elements.customer_id.fgcolor;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=selectionPath}{tr:id=name}{td}h6.selectionPath{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get/Set the selection (path), array with pk records values (only single pk key supported){div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Object]\[]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.selectionPath = new Array(14,24,45,67);
var currentSelectionArray = elements.customer_id.selectionPath;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toolTipText}{tr:id=name}{td}h6.toolTipText{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the text of the bean's tooltip{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String] -- the tooltip text of the bean{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.toolTipText = 'Hello world!';
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparent}{tr:id=name}{td}h6.transparent{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the transparent or opaque state of the bean{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean] -- the transparent state of the bean{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var t = elements.customer_id.transparent;
if (!t) elements.customer_id.transparent = true;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=visible}{tr:id=name}{td}h6.visible{td}{tr}{tr:id=des}{td}{div:class=sIndent}Property for getting/setting the visibility of the bean.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean] -- the visibility of the bean{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var v = elements.customer_id.visible;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=addRoots-Object}{tr:id=name}{td}h6.addRoots{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}addRoots{span}{span}\(foundSet){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Add foundset to the list of foundsets used to create the tree's root nodes.\nNote: the bean will use a clone of the foundset, so any changes on the foundset parameter will be ignored in the tree.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]} foundSet
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The number of added root nodes{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var addedRootNodes = elements.customer_id.addRoots(foundset);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=createBinding-StringArray}{tr:id=name}{td}h6.createBinding{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Binding]{span}{span:style=font-weight: bold;}createBinding{span}{span}\(args){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Create and add binding object for a database table used to set data bindings for nodes.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]...} args
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Binding] -- Binding object for a database table{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var companies_binding = elements.customer_id.createBinding('example_data', 'companies');
companies_binding.setTextDataprovider('company_name');
companies_binding.setNRelationName('companies_to_companies');
companies_binding.setImageURLDataprovider('type_icon');
companies_binding.setChildSortDataprovider('company_sort');
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=createRelationInfo}{tr:id=name}{td}h6.createRelationInfo{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[RelationInfo]{span}{span:style=font-weight: bold;}createRelationInfo{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Create relation info object used to set multiple child relations for a tree node{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[RelationInfo] -- RelationInfo object{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var company_relations = new Array();
company_relations[0] = elements.customer_id.createRelationInfo();
company_relations[0].setLabel('Employees');
company_relations[0].setNRelationName('companies_to_employees');
company_relations[1] = elements.customer_id.createRelationInfo();
company_relations[1].setLabel('Customers');
company_relations[1].setNRelationName('companies_to_customers');
companies_binding.setNRelationInfos(company_relations);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHeight}{tr:id=name}{td}h6.getHeight{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getHeight{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns the height of the tree.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The height{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.getHeight();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLocationX}{tr:id=name}{td}h6.getLocationX{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getLocationX{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get the x coordinate of the location of the tree.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The x coordinate{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.getLocationX();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLocationY}{tr:id=name}{td}h6.getLocationY{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getLocationY{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get the y coordinate of the location of the tree.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The y coordinate{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.getLocationY();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getName}{tr:id=name}{td}h6.getName{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}getName{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns the name of the tree.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[String]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.getName();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWidth}{tr:id=name}{td}h6.getWidth{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getWidth{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Returns the width of the tree.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The width{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.getWidth();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=isNodeExpanded-ObjectArray}{tr:id=name}{td}h6.isNodeExpanded{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}isNodeExpanded{span}{span}\(nodePath){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Check the path (array with pk records values (only single pk key supported)) expanded status{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]\[]} nodePath
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean] -- True if the node is expanded, False otherwise{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var pathArray = new Array(14,24,45,67);
elements.customer_id.isNodeExpanded(pathArray);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=refresh}{tr:id=name}{td}h6.refresh{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}refresh{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Refresh the tree display{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.refresh();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=removeAllRoots}{tr:id=name}{td}h6.removeAllRoots{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}removeAllRoots{span}{span}\(){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Remove all root foundsets{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.removeAllRoots();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setExpandNode-ObjectArray_Boolean}{tr:id=name}{td}h6.setExpandNode{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setExpandNode{span}{span}\(nodePath, expand_collapse){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Expand/collapse the path, array with pk records values (only single pk key supported){div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Object]\[]} nodePath
\{[Boolean]} expand_collapse
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
var pathArray = new Array(14,24,45,67);
elements.customer_id.setExpandNode(pathArray, true);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setFont-String}{tr:id=name}{td}h6.setFont{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setFont{span}{span}\(font){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Sets the specified font as the font of the tree.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[String]} font
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setFont('Times New Roman, 1, 22');
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setLocation-Number_Number}{tr:id=name}{td}h6.setLocation{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setLocation{span}{span}\(x, y){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Sets the location of the tree.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} x
\{[Number]} y
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setLocation(120,80);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNodeLevelVisible-Number_Boolean}{tr:id=name}{td}h6.setNodeLevelVisible{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setNodeLevelVisible{span}{span}\(level, visible){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Set the level of visible nodes (expand or collapse to certain level){div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} level
\{[Boolean]} visible
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setNodeLevelVisible(scopes.globals.g_treeview_level, (scopes.globals.g_treeview_expand == 1 ? true : false));
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setOnDrag-Function}{tr:id=name}{td}h6.setOnDrag{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setOnDrag{span}{span}\(fOnDrag){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}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{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Function]} fOnDrag
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setOnDrag(onDrag);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setOnDragEnd-Function}{tr:id=name}{td}h6.setOnDragEnd{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setOnDragEnd{span}{span}\(fOnDragEnd){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}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{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Function]} fOnDragEnd
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setOnDragEnd(onDragEnd);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setOnDragOver-Function}{tr:id=name}{td}h6.setOnDragOver{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setOnDragOver{span}{span}\(fOnDragOver){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}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{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Function]} fOnDragOver
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setOnDragOver(onDragOver);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setOnDrop-Function}{tr:id=name}{td}h6.setOnDrop{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setOnDrop{span}{span}\(fOnDrop){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}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{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Function]} fOnDrop
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setOnDrop(onDrop);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setRowHeight-Number}{tr:id=name}{td}h6.setRowHeight{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setRowHeight{span}{span}\(height){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Set row height{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} height
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setRowHeight(40);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSize-Number_Number}{tr:id=name}{td}h6.setSize{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setSize{span}{span}\(w, h){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Sets the size of the tree.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} w
\{[Number]} h
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
elements.customer_id.setSize(400,300);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}