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. |
Method Details |
---|
setLabel |
void setLabel (label) |
Sets the label of a relation info object used to set multiple child relations for a tree node. |
Parameters label |
Returns void |
Samplevar 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); |
setNRelationName |
void setNRelationName (relationName) |
Sets the name of a relation info object used to set multiple child relations for a tree node. |
Parameters relationName |
Returns void |
Samplevar 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); |