Child pages
  • DB Tree Table View

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
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


HTML Table
classservoy sReturnTypes
Table Row (tr)
styleheight: 30px;
Table Head (th)
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Binding
Span
classsWordList
Column

HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#bgcolor
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#enabled
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#fgcolor
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object[]
Table Cell (td)
#selectionPath
Get/Set the selection (path), array with pk records values (only single pk key supported)
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toolTipText
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#transparent
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#visible

HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#addRoots(foundset)
Add foundset to the list of foundsets used to create the tree's root nodes.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Binding
Table Cell (td)
#createBinding(datasource/servername, [tablename])
Create and add binding object for a database table used to set data bindings for nodes.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Column
Table Cell (td)
#createColumn(servername, tablename, header, fieldname, [preferredWidth])
Create and add new column to the tree table
Table Body (tbody)
Table Row (tr)
Table Cell (td)
RelationInfo
Table Cell (td)
#createRelationInfo()
Create relation info object used to set multiple child relations for a tree node
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getHeight()
Returns the height of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getLocationX()
Get the x coordinate of the location of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getLocationY()
Get the y coordinate of the location of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getName()
Returns the name of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getWidth()
Returns the width of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#isNodeExpanded(path)
Check the path (array with pk records values (only single pk key supported)) expanded status
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#refresh()
Refresh the tree display
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeAllColumns()
Remove all columns but the tree column from the tree table
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeAllRoots()
Remove all root foundsets
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setExpandNode(path, expand_collapse)
Expand/collapse the path, array with pk records values (only single pk key supported)
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setFont(spec)
Sets the specified font as the font of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setLocation(x, y)
Sets the location of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setNodeLevelVisible(level, visible)
Set the level of visible nodes (expand or collapse to certain level)
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDrag(callback)
Set method to be called when a drag is started on the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDragEnd(callback)
Set method to be called when a drag of on the tree is ended.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDragOver(callback)
Set method to be called during a drag over the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDrop(callback)
Set method to be called on a drop on the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setRowHeight(rowHeight)
Set row height
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setSize(x, y)
Sets the size of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setTreeColumnHeader(treeColumnHeader)
Set the header text for the tree column
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setTreeColumnPreferredWidth(treeColumnPreferredWidth)
Set the preferred width in pixels for the tree column

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idbgcolor
classnode
Table Row (tr)
idname
Table Cell (td)
bgcolor
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idenabled
classnode
Table Row (tr)
idname
Table Cell (td)
enabled
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idfgcolor
classnode
Table Row (tr)
idname
Table Cell (td)
fgcolor
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idselectionPath
classnode
Table Row (tr)
idname
Table Cell (td)
selectionPath
Table Row (tr)
iddes
Table Cell (td)
Get/Set the selection (path), array with pk records values (only single pk key supported)
Table Row (tr)
idret
Table Cell (td)
Returns
Object[]
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.selectionPath = new Array(14,24,45,67);
var currentSelectionArray = elements.customer_id.selectionPath;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtoolTipText
classnode
Table Row (tr)
idname
Table Cell (td)
toolTipText
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idtransparent
classnode
Table Row (tr)
idname
Table Cell (td)
transparent
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idvisible
classnode
Table Row (tr)
idname
Table Cell (td)
visible
Table Row (tr)
iddes
Table Cell (td)
Replace with description
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)


HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idaddRoots
classnode
Table Row (tr)
idname
Table Cell (td)
addRoots
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
addRoots
Span
stylefloat: left;
idiets
(foundset)
Table Row (tr)
iddes
Table Cell (td)
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.
Table Row (tr)
idprs
Table Cell (td)
Parameters
foundset
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
//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);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcreateBinding
classnode
Table Row (tr)
idname
Table Cell (td)
createBinding
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Binding
Span
stylefloat: left; font-weight: bold;
idiets
createBinding
Span
stylefloat: left;
idiets
(datasource/servername, [tablename])
Table Row (tr)
iddes
Table Cell (td)
Create and add binding object for a database table used to set data bindings for nodes.
Table Row (tr)
idprs
Table Cell (td)
Parameters
datasource/servername
[tablename]
Table Row (tr)
idret
Table Cell (td)
Returns
Binding
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
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');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcreateColumn
classnode
Table Row (tr)
idname
Table Cell (td)
createColumn
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Column
Span
stylefloat: left; font-weight: bold;
idiets
createColumn
Span
stylefloat: left;
idiets
(servername, tablename, header, fieldname, [preferredWidth])
Table Row (tr)
iddes
Table Cell (td)
Create and add new column to the tree table
Table Row (tr)
idprs
Table Cell (td)
Parameters
servername
tablename
header
fieldname
[preferredWidth]
Table Row (tr)
idret
Table Cell (td)
Returns
Column
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.createColumn('servername', 'tablename', 'header text', 'tablefieldname', 150);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcreateRelationInfo
classnode
Table Row (tr)
idname
Table Cell (td)
createRelationInfo
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
RelationInfo
Span
stylefloat: left; font-weight: bold;
idiets
createRelationInfo
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Create relation info object used to set multiple child relations for a tree node
Table Row (tr)
idret
Table Cell (td)
Returns
RelationInfo
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
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);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetHeight
classnode
Table Row (tr)
idname
Table Cell (td)
getHeight
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getHeight
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the height of the tree.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.getHeight();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetLocationX
classnode
Table Row (tr)
idname
Table Cell (td)
getLocationX
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getLocationX
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Get the x coordinate of the location of the tree.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.getLocationX();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetLocationY
classnode
Table Row (tr)
idname
Table Cell (td)
getLocationY
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getLocationY
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Get the y coordinate of the location of the tree.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.getLocationY();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetName
classnode
Table Row (tr)
idname
Table Cell (td)
getName
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
getName
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the name of the tree.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.getName();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idgetWidth
classnode
Table Row (tr)
idname
Table Cell (td)
getWidth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
getWidth
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the width of the tree.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.getWidth();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idisNodeExpanded
classnode
Table Row (tr)
idname
Table Cell (td)
isNodeExpanded
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Boolean
Span
stylefloat: left; font-weight: bold;
idiets
isNodeExpanded
Span
stylefloat: left;
idiets
(path)
Table Row (tr)
iddes
Table Cell (td)
Check the path (array with pk records values (only single pk key supported)) expanded status
Table Row (tr)
idprs
Table Cell (td)
Parameters
path
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var pathArray = new Array(14,24,45,67);
elements.customer_id.isNodeExpanded(pathArray);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idrefresh
classnode
Table Row (tr)
idname
Table Cell (td)
refresh
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
refresh
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Refresh the tree display
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.refresh();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idremoveAllColumns
classnode
Table Row (tr)
idname
Table Cell (td)
removeAllColumns
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
removeAllColumns
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Remove all columns but the tree column from the tree table
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.removeAllColumns();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idremoveAllRoots
classnode
Table Row (tr)
idname
Table Cell (td)
removeAllRoots
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
removeAllRoots
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Remove all root foundsets
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.removeAllRoots();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetExpandNode
classnode
Table Row (tr)
idname
Table Cell (td)
setExpandNode
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setExpandNode
Span
stylefloat: left;
idiets
(path, expand_collapse)
Table Row (tr)
iddes
Table Cell (td)
Expand/collapse the path, array with pk records values (only single pk key supported)
Table Row (tr)
idprs
Table Cell (td)
Parameters
path
expand_collapse
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var pathArray = new Array(14,24,45,67);
elements.customer_id.setExpandNode(pathArray, true);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetFont
classnode
Table Row (tr)
idname
Table Cell (td)
setFont
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setFont
Span
stylefloat: left;
idiets
(spec)
Table Row (tr)
iddes
Table Cell (td)
Sets the specified font as the font of the tree.
Table Row (tr)
idprs
Table Cell (td)
Parameters
spec
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setFont('Times New Roman, 1, 22');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetLocation
classnode
Table Row (tr)
idname
Table Cell (td)
setLocation
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setLocation
Span
stylefloat: left;
idiets
(x, y)
Table Row (tr)
iddes
Table Cell (td)
Sets the location of the tree.
Table Row (tr)
idprs
Table Cell (td)
Parameters
x
y
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setLocation(120,80);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetNodeLevelVisible
classnode
Table Row (tr)
idname
Table Cell (td)
setNodeLevelVisible
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setNodeLevelVisible
Span
stylefloat: left;
idiets
(level, visible)
Table Row (tr)
iddes
Table Cell (td)
Set the level of visible nodes (expand or collapse to certain level)
Table Row (tr)
idprs
Table Cell (td)
Parameters
level
visible
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setNodeLevelVisible(globals.g_treeview_level, (globals.g_treeview_expand == 1 ? true : false));
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetOnDrag
classnode
Table Row (tr)
idname
Table Cell (td)
setOnDrag
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setOnDrag
Span
stylefloat: left;
idiets
(callback)
Table Row (tr)
iddes
Table Cell (td)
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
Table Row (tr)
idprs
Table Cell (td)
Parameters
callback
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setOnDrag(onDrag);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetOnDragEnd
classnode
Table Row (tr)
idname
Table Cell (td)
setOnDragEnd
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setOnDragEnd
Span
stylefloat: left;
idiets
(callback)
Table Row (tr)
iddes
Table Cell (td)
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
Table Row (tr)
idprs
Table Cell (td)
Parameters
callback
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setOnDragEnd(onDragEnd);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetOnDragOver
classnode
Table Row (tr)
idname
Table Cell (td)
setOnDragOver
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setOnDragOver
Span
stylefloat: left;
idiets
(callback)
Table Row (tr)
iddes
Table Cell (td)
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
Table Row (tr)
idprs
Table Cell (td)
Parameters
callback
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setOnDragOver(onDragOver);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetOnDrop
classnode
Table Row (tr)
idname
Table Cell (td)
setOnDrop
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setOnDrop
Span
stylefloat: left;
idiets
(callback)
Table Row (tr)
iddes
Table Cell (td)
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
Table Row (tr)
idprs
Table Cell (td)
Parameters
callback
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setOnDrop(onDrop);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetRowHeight
classnode
Table Row (tr)
idname
Table Cell (td)
setRowHeight
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setRowHeight
Span
stylefloat: left;
idiets
(rowHeight)
Table Row (tr)
iddes
Table Cell (td)
Set row height
Table Row (tr)
idprs
Table Cell (td)
Parameters
rowHeight
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setRowHeight(40);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetSize
classnode
Table Row (tr)
idname
Table Cell (td)
setSize
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setSize
Span
stylefloat: left;
idiets
(x, y)
Table Row (tr)
iddes
Table Cell (td)
Sets the size of the tree.
Table Row (tr)
idprs
Table Cell (td)
Parameters
x
y
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setSize(400,300);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetTreeColumnHeader
classnode
Table Row (tr)
idname
Table Cell (td)
setTreeColumnHeader
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setTreeColumnHeader
Span
stylefloat: left;
idiets
(treeColumnHeader)
Table Row (tr)
iddes
Table Cell (td)
Set the header text for the tree column
Table Row (tr)
idprs
Table Cell (td)
Parameters
treeColumnHeader
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setTreeColumnHeader('Tree Column Header');
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetTreeColumnPreferredWidth
classnode
Table Row (tr)
idname
Table Cell (td)
setTreeColumnPreferredWidth
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setTreeColumnPreferredWidth
Span
stylefloat: left;
idiets
(treeColumnPreferredWidth)
Table Row (tr)
iddes
Table Cell (td)
Set the preferred width in pixels for the tree column
Table Row (tr)
idprs
Table Cell (td)
Parameters
treeColumnPreferredWidth
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setTreeColumnPreferredWidth(200);
Table Row (tr)
classlastDetailRow
Table Cell (td)