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
{column:width=80px|padding=0px}{column}{column}{column}
Method Summary
void
setLabel(label)
Sets the label of a relation info object used to set multiple child relations for a tree node.
void
setNRelationName(relationName)
Sets the name of a relation info object used to set multiple child relations for a tree node.
{column:width=100%|padding=0px}{column}
Method Details
void
setLabel
(label)
Returns
void
Sample
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);
void
setNRelationName
(relationName)
Returns
void
Sample
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);