Child pages
  • DB Tree View

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381948887907

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#bgcolorbgcolor
Property for getting/setting the background color of the bean.
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#enabledenabled
Property for getting/setting the enabled state of the bean
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#fgcolorfgcolor
Property for getting/setting the foreground color of the bean.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object[]
Table Cell (td)
#selectionPathselectionPath
Get/Set the selection (path), array with pk records values (only single pk key supported)
tbody
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#toolTipTexttoolTipText
Property for getting/setting the text of the bean's tooltip
tbody
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#transparenttransparent
Property for getting/setting the transparent or opaque state of the bean
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#visiblevisible
Property for getting/setting the visibility of the bean.

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

tbody
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
tbody
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#addRootsaddRoots(foundSet)
Add foundset to the list of foundsets used to create the tree's root nodes.
tbody
Table Row (tr)
Table Cell (td)
Binding
Table Cell (td)
#createBindingcreateBinding(args)
Create and add binding object for a database table used to set data bindings for nodes.
tbody
Table Row (tr)
Table Cell (td)
RelationInfo
Table Cell (td)
#createRelationInfocreateRelationInfo()
Create relation info object used to set multiple child relations for a tree node
tbody
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getHeightgetHeight()
Returns the height of the tree.
tbody
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getLocationXgetLocationX()
Get the x coordinate of the location of the tree.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getLocationYgetLocationY()
Get the y coordinate of the location of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getNamegetName()
Returns the name of the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getWidthgetWidth()
Returns the width of the tree.
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#isNodeExpandedisNodeExpanded(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)
#refreshrefresh()
Refresh the tree display
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeAllRootsremoveAllRoots()
Remove all root foundsets
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setExpandNodesetExpandNode(nodePath, expand_collapse)
Expand/collapse the path, array with pk records values (only single pk key supported)
tbody
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setFontsetFont(font)
Sets the specified font as the font of the tree.
tbody
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setLocationsetLocation(x, y)
Sets the location of the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setNodeLevelVisiblesetNodeLevelVisible(level, visible)
Set the level of visible nodes (expand or collapse to certain level)
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDragsetOnDrag(fOnDrag)
Set method to be called when a drag is started on the tree.
tbody
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDragEndsetOnDragEnd(fOnDragEnd)
Set method to be called when a drag of on the tree is ended.
tbody
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDragOversetOnDragOver(fOnDragOver)
Set method to be called during a drag over the tree.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setOnDropsetOnDrop(fOnDrop)
Set method to be called on a drop on the tree.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setRowHeightsetRowHeight(height)
Set row height
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setSizesetSize(w, h)
Sets the size of the tree.

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
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
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
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)