Child pages
  • DB Tree View

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Div
styledisplay: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.

Div
iddescription



HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Known Subclasses
Table Row (tr)
Table Cell (td)
Span
classsWordList
DB Tree Table View



HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Binding
Span
classsWordList
RelationInfo



HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
bgcolor
Property for getting/setting the background color of the bean.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
enabled
Property for getting/setting the enabled state of the bean
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
fgcolor
Property for getting/setting the foreground color of the bean.
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 Row (tr)
Table Cell (td)
String
Table Cell (td)
toolTipText
Property for getting/setting the text of the bean's tooltip
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
transparent
Property for getting/setting the transparent or opaque state of the bean
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
visible
Property for getting/setting the visibility of the bean.



HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
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 Row (tr)
Table Cell (td)
Binding
Table Cell (td)
createBinding(args)
Create and add binding object for a database table used to set data bindings for nodes.
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 Row (tr)
Table Cell (td)
Number
Table Cell (td)
getHeight()
Returns the height of the tree.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getLocationX()
Get the x coordinate of the location of the tree.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getLocationY()
Get the y coordinate of the location of the tree.
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
getName()
Returns the name of the tree.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
getWidth()
Returns the width of the tree.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
isNodeExpanded(nodePath)
Check the path (array with pk records values (only single pk key supported)) expanded status
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
refresh()
Refresh the tree display
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
removeAllRoots()
Remove all root foundsets
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setExpandNode(nodePath, expand_collapse)
Expand/collapse the path, array with pk records values (only single pk key supported)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setFont(font)
Sets the specified font as the font of the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setLocation(x, y)
Sets the location of the tree.
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 Row (tr)
Table Cell (td)
void
Table Cell (td)
setOnDrag(fOnDrag)
Set method to be called when a drag is started on the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setOnDragEnd(fOnDragEnd)
Set method to be called when a drag of on the tree is ended.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setOnDragOver(fOnDragOver)
Set method to be called during a drag over the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setOnDrop(fOnDrop)
Set method to be called on a drop on the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setRowHeight(height)
Set row height
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
setSize(w, h)
Sets the size of the tree.



HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Details
Table Body (tbody)
idbgcolor
Table Row (tr)
idname
Table Cell (td)

bgcolor

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the background color of the bean.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String - the background color
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
elements.customer_id.bgcolor = "#FFFFFF";
var x = elements.customer_id.bgcolor;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idenabled
Table Row (tr)
idname
Table Cell (td)

enabled

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the enabled state of the bean
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean - the enabled state of the bean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var b = elements.customer_id.enabled;
if (b) elements.customer_id.enabled = false;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idfgcolor
Table Row (tr)
idname
Table Cell (td)

fgcolor

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the foreground color of the bean.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
elements.customer_id.fgcolor = "#000000";
var y = elements.customer_id.fgcolor;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idselectionPath
Table Row (tr)
idname
Table Cell (td)

selectionPath

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get/Set the selection (path), array with pk records values (only single pk key supported)
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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
Table Row (tr)
idname
Table Cell (td)

toolTipText

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the text of the bean's tooltip
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String - the tooltip text of the bean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
elements.customer_id.toolTipText = 'Hello world!';
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idtransparent
Table Row (tr)
idname
Table Cell (td)

transparent

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the transparent or opaque state of the bean
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean - the transparent state of the bean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var t = elements.customer_id.transparent;
if (!t) elements.customer_id.transparent = true;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idvisible
Table Row (tr)
idname
Table Cell (td)

visible

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Property for getting/setting the visibility of the bean.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean - the visibility of the bean
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var v = elements.customer_id.visible;
Table Row (tr)
classlastDetailRow
Table Cell (td)
 



HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Details
Table Body (tbody)
idaddRoots-Object
Table Row (tr)
idname
Table Cell (td)

addRoots

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
addRoots
Span
(foundSet)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object} foundSet
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - The number of added root nodes
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var addedRootNodes = elements.customer_id.addRoots(foundset);
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idcreateBinding-StringArray
Table Row (tr)
idname
Table Cell (td)

createBinding

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Binding
Span
stylefont-weight: bold;
createBinding
Span
(args)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Create and add binding object for a database table used to set data bindings for nodes.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String...} args
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Binding - Binding object for a database table
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)
idcreateRelationInfo
Table Row (tr)
idname
Table Cell (td)

createRelationInfo

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
RelationInfo
Span
stylefont-weight: bold;
createRelationInfo
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Create relation info object used to set multiple child relations for a tree node
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
RelationInfo - RelationInfo object
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
Table Row (tr)
idname
Table Cell (td)

getHeight

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
getHeight
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the height of the tree.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - The height
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
Table Row (tr)
idname
Table Cell (td)

getLocationX

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
getLocationX
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the x coordinate of the location of the tree.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - The x coordinate
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
Table Row (tr)
idname
Table Cell (td)

getLocationY

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
getLocationY
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the y coordinate of the location of the tree.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - The y coordinate
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
Table Row (tr)
idname
Table Cell (td)

getName

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
String
Span
stylefont-weight: bold;
getName
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the name of the tree.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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
Table Row (tr)
idname
Table Cell (td)

getWidth

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Number
Span
stylefont-weight: bold;
getWidth
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Returns the width of the tree.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - The width
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-ObjectArray
Table Row (tr)
idname
Table Cell (td)

isNodeExpanded

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
Boolean
Span
stylefont-weight: bold;
isNodeExpanded
Span
(nodePath)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Check the path (array with pk records values (only single pk key supported)) expanded status
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object[]} nodePath
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean - True if the node is expanded, False otherwise
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
Table Row (tr)
idname
Table Cell (td)

refresh

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
refresh
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Refresh the tree display
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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)
idremoveAllRoots
Table Row (tr)
idname
Table Cell (td)

removeAllRoots

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
removeAllRoots
Span
()
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Remove all root foundsets
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-ObjectArray_Boolean
Table Row (tr)
idname
Table Cell (td)

setExpandNode

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setExpandNode
Span
(nodePath, expand_collapse)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Expand/collapse the path, array with pk records values (only single pk key supported)
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Object[]} nodePath
{Boolean} expand_collapse
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-String
Table Row (tr)
idname
Table Cell (td)

setFont

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setFont
Span
(font)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Sets the specified font as the font of the tree.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{String} font
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Number_Number
Table Row (tr)
idname
Table Cell (td)

setLocation

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setLocation
Span
(x, y)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Sets the location of the tree.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Number} x
{Number} y
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Number_Boolean
Table Row (tr)
idname
Table Cell (td)

setNodeLevelVisible

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setNodeLevelVisible
Span
(level, visible)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Set the level of visible nodes (expand or collapse to certain level)
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Number} level
{Boolean} visible
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
elements.customer_id.setNodeLevelVisible(scopes.globals.g_treeview_level, (scopes.globals.g_treeview_expand == 1 ? true : false));
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idsetOnDrag-Function
Table Row (tr)
idname
Table Cell (td)

setOnDrag

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setOnDrag
Span
(fOnDrag)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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

Div
classsIndent
{Function} fOnDrag
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Function
Table Row (tr)
idname
Table Cell (td)

setOnDragEnd

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setOnDragEnd
Span
(fOnDragEnd)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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

Div
classsIndent
{Function} fOnDragEnd
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Function
Table Row (tr)
idname
Table Cell (td)

setOnDragOver

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setOnDragOver
Span
(fOnDragOver)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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

Div
classsIndent
{Function} fOnDragOver
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Function
Table Row (tr)
idname
Table Cell (td)

setOnDrop

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setOnDrop
Span
(fOnDrop)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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

Div
classsIndent
{Function} fOnDrop
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Number
Table Row (tr)
idname
Table Cell (td)

setRowHeight

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setRowHeight
Span
(height)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Set row height
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Number} height
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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-Number_Number
Table Row (tr)
idname
Table Cell (td)

setSize

Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
setSize
Span
(w, h)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Sets the size of the tree.
Table Row (tr)
idprs
Table Cell (td)

Parameters

Div
classsIndent
{Number} w
{Number} h
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
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)