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
class
servoy sSummary
Colgroup Tag
Column
padding
0px
width
80px
Column
Table Row (tr)
style
height: 30px;
Table Head (th)
colspan
2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setLabel(label) Sets the label of a relation info object used to set multiple child relations for a tree node.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setNRelationName(relationName) Sets the name of a relation info object used to set multiple child relations for a tree node.
HTML Table
id
function
class
servoy sDetail
Colgroup Tag
Column
padding
0px
width
100%
Table Row (tr)
style
height: 30px;
Table Head (th)
colspan
1
Method Details
Table Body (tbody)
id
setLabel
class
node
Table Row (tr)
id
name
Table Cell (td)
setLabel
Table Row (tr)
id
sig
Table Cell (td)
Span
style
float: left; margin-right: 5px;
void
Span
style
float: left; font-weight: bold;
id
iets
setLabel
Span
style
float: left;
id
iets
(label)
Table Row (tr)
id
des
Table Cell (td)
Sets the label of a relation info object used to set multiple child relations for a tree node.
Table Row (tr)
id
prs
Table Cell (td)
Parameters label
Table Row (tr)
id
ret
Table Cell (td)
Returns void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
var companies_binding = elements.myDbTreeView.createBinding('example_data', 'companies');
var company_relations = new Array();
company_relations[0] = elements.myDbTreeView.createRelationInfo();
company_relations[0].setLabel('Employees');
company_relations[0].setNRelationName('companies_to_employees');
companies_binding.setNRelationInfos(company_relations);
Table Row (tr)
class
lastDetailRow
Table Cell (td)
Table Body (tbody)
id
setNRelationName
class
node
Table Row (tr)
id
name
Table Cell (td)
setNRelationName
Table Row (tr)
id
sig
Table Cell (td)
Span
style
float: left; margin-right: 5px;
void
Span
style
float: left; font-weight: bold;
id
iets
setNRelationName
Span
style
float: left;
id
iets
(relationName)
Table Row (tr)
id
des
Table Cell (td)
Sets the name of a relation info object used to set multiple child relations for a tree node.
Table Row (tr)
id
prs
Table Cell (td)
Parameters relationName
Table Row (tr)
id
ret
Table Cell (td)
Returns void
Table Row (tr)
id
sam
Table Cell (td)
Sample
Div
class
sIndent
Code Block
language
javascript
var companies_binding = elements.myDbTreeView.createBinding('example_data', 'companies');
var company_relations = new Array();
company_relations[0] = elements.myDbTreeView.createRelationInfo();
company_relations[0].setLabel('Employees');
company_relations[0].setNRelationName('companies_to_employees');
companies_binding.setNRelationInfos(company_relations);