Table Head (thead) |
---|
Table Row (tr) |
---|
| Table Head (th) |
---|
| Method Details |
|
|
Table Body (tbody) |
---|
id | setCallBackInfo-Function_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setCallBackInfo |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
(f, returnDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set callback method for node selection and double click |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setCallBackInfo(globals.node_selected, 'node_id'); |
|
|
|
|
Table Body (tbody) |
---|
id | setCheckBoxValueDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setCheckBoxValueDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setCheckBoxValueDataprovider |
Span |
---|
(checkBoxValueDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set checkbox value dataprovider. Dataprovider returns INTEGER (0 or 1) or STRING (false or true) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} checkBoxValueDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setCheckBoxValueDataprovider('comment_text'); |
|
|
|
|
Table Body (tbody) |
---|
id | setChildSortDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setChildSortDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setChildSortDataprovider |
Span |
---|
(childSortDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set the dataprovider name to retrieve column name and sort order for the child nodes.\nThe provided data must be a string of form : column_name_used_for_sort sort_order(asc or desc) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} childSortDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), |
|
|
|
| controller.getTableName()setCallBackInfo(globals.node_selected, 'node_id');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setCheckBoxValueDataprovider-String|class=node}{tr:id=name}{td}h6.setCheckBoxValueDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setCheckBoxValueDataprovider{span}{span:id=iets|style=float: left;}\(checkBoxValueDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setCheckBoxValueDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setCheckBoxValueDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setCheckBoxValueDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setCheckBoxValueDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setCheckBoxValueDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setCheckBoxValueDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} checkBoxValueDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setCheckBoxValueDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setCheckBoxValueDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setCheckBoxValueDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setCheckBoxValueDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setCheckBoxValueDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setCheckBoxValueDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setCheckBoxValueDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setCheckBoxValueDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elementssetChildSortDataprovider('company_sort'); |
|
|
|
|
Table Body (tbody) |
---|
id | setConfigurationDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setConfigurationDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setConfigurationDataprovider |
Span |
---|
(configurationDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set configuration dataprovider. Dataprovider must be MEDIA type and returns a configuration object |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} configurationDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var config = new Object();
config.text = 'my_text';
config.nRelation = 'my_n_relation';
config.mRelation = 'my_m_relation';
config.childSort = 'my_sort_field';
config.fontType = 'my_font';
config.toolTipText = 'my_tooltip';
config.hasCheckBox = 'true';
config.checkBoxValue = 'true'; |
|
|
|
|
Table Body (tbody) |
---|
id | setFontTypeDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setFontTypeDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setFontTypeDataprovider |
Span |
---|
(fontTypeDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set the dataprovider name to retrieve the node font from |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} fontTypeDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding. |
|
|
|
| setCheckBoxValueDataprovidersetFontTypeDataprovider(' |
|
|
|
| commenttext
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setChildSortDataprovider-String|class=node}{tr:id=name}{td}h6.setChildSortDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setChildSortDataprovider{span}{span:id=iets|style=float: left;}\(childSortDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setChildSortDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setChildSortDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setChildSortDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setChildSortDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setChildSortDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setChildSortDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} childSortDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setChildSortDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setChildSortDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setChildSortDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setChildSortDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setChildSortDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setChildSortDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setChildSortDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setChildSortDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'customers');
binding.setChildSortDataprovider('company_sort');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setConfigurationDataprovider-String|class=node}{tr:id=name}{td}h6.setConfigurationDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setConfigurationDataprovider{span}{span:id=iets|style=float: left;}\(configurationDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setConfigurationDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setConfigurationDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setConfigurationDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setConfigurationDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setConfigurationDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setConfigurationDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} configurationDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setConfigurationDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setConfigurationDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setConfigurationDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setConfigurationDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setConfigurationDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setConfigurationDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setConfigurationDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setConfigurationDataprovider-String_sam|trigger=none}{code:language=javascript}
var config = new Object();
config.text = 'my_text';
config.nRelation = 'my_n_relation';
config.mRelation = 'my_m_relation';
config.childSort = 'my_sort_field';
config.fontType = 'my_font';
config.toolTipText = 'my_tooltip';
config.hasCheckBox = 'true';
config.checkBoxValue = 'true';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setFontTypeDataprovider-String|class=node}{tr:id=name}{td}h6.setFontTypeDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setFontTypeDataprovider{span}{span:id=iets|style=float: left;}\(fontTypeDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setFontTypeDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setFontTypeDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setFontTypeDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setFontTypeDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setFontTypeDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setFontTypeDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} fontTypeDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setFontTypeDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setFontTypeDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setFontTypeDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setFontTypeDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setFontTypeDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setFontTypeDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setFontTypeDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setFontTypeDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setFontTypeDataprovider('bean_font');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setHasCheckBoxDataprovider-String|class=node}{tr:id=name}{td}h6.setHasCheckBoxDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setHasCheckBoxDataprovider{span}{span:id=iets|style=float: left;}\(hasCheckBoxDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setHasCheckBoxDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setHasCheckBoxDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setHasCheckBoxDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setHasCheckBoxDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setHasCheckBoxDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setHasCheckBoxDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} hasCheckBoxDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setHasCheckBoxDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setHasCheckBoxDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setHasCheckBoxDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setHasCheckBoxDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setHasCheckBoxDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setHasCheckBoxDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setHasCheckBoxDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setHasCheckBoxDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setHasCheckBoxDataprovider('hasCheckBox');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setImageMediaDataprovider-String|class=node}{tr:id=name}{td}h6.setImageMediaDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setImageMediaDataprovider{span}{span:id=iets|style=float: left;}\(imageMediaDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setImageMediaDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setImageMediaDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setImageMediaDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setImageMediaDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setImageMediaDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setImageMediaDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} imageMediaDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setImageMediaDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setImageMediaDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setImageMediaDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageMediaDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setImageMediaDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageMediaDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setImageMediaDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageMediaDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'customers');
binding.setImageMediaDataprovider('company_icon');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setImageURLDataprovider-String|class=node}{tr:id=name}{td}h6.setImageURLDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setImageURLDataprovider{span}{span:id=iets|style=float: left;}\(imageURLDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setImageURLDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setImageURLDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setImageURLDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setImageURLDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setImageURLDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setImageURLDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} imageURLDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setImageURLDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setImageURLDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setImageURLDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageURLDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setImageURLDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageURLDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setImageURLDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setImageURLDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setImageURLDataprovider('order_icon');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMRelationDataprovider-String|class=node}{tr:id=name}{td}h6.setMRelationDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMRelationDataprovider{span}{span:id=iets|style=float: left;}\(dataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMRelationDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setMRelationDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMRelationDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setMRelationDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMRelationDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setMRelationDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} dataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMRelationDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setMRelationDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMRelationDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMRelationDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMRelationDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setMRelationDataprovider('m_relation');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMRelationName-String|class=node}{tr:id=name}{td}h6.setMRelationName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMRelationName{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMRelationName-String_des|trigger=button|text=}{sub-section}{sub-section:setMRelationName-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMRelationName-String_snc|trigger=button|text=}{sub-section}{sub-section:setMRelationName-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMRelationName-String_prs|trigger=button|text=}{sub-section}{sub-section:setMRelationName-String_prs|trigger=none|class=sIndent}\{[String]} name
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMRelationName-String_ret|trigger=button|text=}{sub-section}{sub-section:setMRelationName-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMRelationName-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationName-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMRelationName-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationName-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMRelationName-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMRelationName-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setMRelationName('m_relation_name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMethodToCallOnCheckBoxChange-Function_String|class=node}{tr:id=name}{td}h6.setMethodToCallOnCheckBoxChange{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMethodToCallOnCheckBoxChange{span}{span:id=iets|style=float: left;}\(methodToCallOnCheckBoxChange, returnDataproviderOnCheckBoxChange){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_des|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_snc|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_prs|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_prs|trigger=none|class=sIndent}\{[Function]} methodToCallOnCheckBoxChange
\{[String]} returnDataproviderOnCheckBoxChange
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_ret|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMethodToCallOnCheckBoxChange-Function_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnCheckBoxChange-Function_String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnCheckBoxChange(onCheckBoxChangeMethod,'orderdate');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMethodToCallOnClick-Function_String|class=node}{tr:id=name}{td}h6.setMethodToCallOnClick{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMethodToCallOnClick{span}{span:id=iets|style=float: left;}\(methodToCallOnClick, returnDataproviderOnClick){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMethodToCallOnClick-Function_String_des|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnClick-Function_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMethodToCallOnClick-Function_String_snc|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnClick-Function_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMethodToCallOnClick-Function_String_prs|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnClick-Function_String_prs|trigger=none|class=sIndent}\{[Function]} methodToCallOnClick
\{[String]} returnDataproviderOnClick
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMethodToCallOnClick-Function_String_ret|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnClick-Function_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMethodToCallOnClick-Function_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnClick-Function_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMethodToCallOnClick-Function_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnClick-Function_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMethodToCallOnClick-Function_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnClick-Function_String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnClick(onClickMethod,'orderid');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMethodToCallOnDoubleClick-Function_String|class=node}{tr:id=name}{td}h6.setMethodToCallOnDoubleClick{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMethodToCallOnDoubleClick{span}{span:id=iets|style=float: left;}\(methodToCallOnDoubleClick, returnDataproviderOnDoubleClick){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMethodToCallOnDoubleClick-Function_String_des|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnDoubleClick-Function_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_snc|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnDoubleClick-Function_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_prs|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnDoubleClick-Function_String_prs|trigger=none|class=sIndent}\{[Function]} methodToCallOnDoubleClick
\{[String]} returnDataproviderOnDoubleClick
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_ret|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnDoubleClick-Function_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnDoubleClick-Function_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnDoubleClick-Function_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMethodToCallOnDoubleClick-Function_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnDoubleClick-Function_String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnDoubleClick(doubleClickMethod,'orderid');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setMethodToCallOnRightClick-Function_String|class=node}{tr:id=name}{td}h6.setMethodToCallOnRightClick{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setMethodToCallOnRightClick{span}{span:id=iets|style=float: left;}\(methodToCallOnRightClick, returnDataproviderOnRightClick){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setMethodToCallOnRightClick-Function_String_des|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnRightClick-Function_String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setMethodToCallOnRightClick-Function_String_snc|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnRightClick-Function_String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setMethodToCallOnRightClick-Function_String_prs|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnRightClick-Function_String_prs|trigger=none|class=sIndent}\{[Function]} methodToCallOnRightClick
\{[String]} returnDataproviderOnRightClick
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setMethodToCallOnRightClick-Function_String_ret|trigger=button|text=}{sub-section}{sub-section:setMethodToCallOnRightClick-Function_String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setMethodToCallOnRightClick-Function_String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnRightClick-Function_String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setMethodToCallOnRightClick-Function_String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnRightClick-Function_String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setMethodToCallOnRightClick-Function_String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setMethodToCallOnRightClick-Function_String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnRightClick(rightClickMethod,'orderid');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNRelationDataprovider-String|class=node}{tr:id=name}{td}h6.setNRelationDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setNRelationDataprovider{span}{span:id=iets|style=float: left;}\(dataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setNRelationDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setNRelationDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setNRelationDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setNRelationDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setNRelationDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setNRelationDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} dataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setNRelationDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setNRelationDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setNRelationDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setNRelationDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setNRelationDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setNRelationDataprovider('n_relation');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNRelationInfos-RelationInfoArray|class=node}{tr:id=name}{td}h6.setNRelationInfos{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setNRelationInfos{span}{span:id=iets|style=float: left;}\(relationInfos){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setNRelationInfos-RelationInfoArray_des|trigger=button|text=}{sub-section}{sub-section:setNRelationInfos-RelationInfoArray_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setNRelationInfos-RelationInfoArray_snc|trigger=button|text=}{sub-section}{sub-section:setNRelationInfos-RelationInfoArray_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setNRelationInfos-RelationInfoArray_prs|trigger=button|text=}{sub-section}{sub-section:setNRelationInfos-RelationInfoArray_prs|trigger=none|class=sIndent}\{[RelationInfo]\[]} relationInfos
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setNRelationInfos-RelationInfoArray_ret|trigger=button|text=}{sub-section}{sub-section:setNRelationInfos-RelationInfoArray_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setNRelationInfos-RelationInfoArray_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationInfos-RelationInfoArray_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setNRelationInfos-RelationInfoArray_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationInfos-RelationInfoArray_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setNRelationInfos-RelationInfoArray_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationInfos-RelationInfoArray_sam|trigger=none}{code:language=javascript}
var company_relations = new Array();
company_relations[0] = tree.createRelationInfo();
company_relations[0].setLabel('Employees');
company_relations[0].setNRelationName('companies_to_employees');
company_relations[1] = tree.createRelationInfo();
company_relations[1].setLabel('Customers');
company_relations[1].setNRelationName('companies_to_customers');
binding.setNRelationInfos(company_relations);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setNRelationName-String|class=node}{tr:id=name}{td}h6.setNRelationName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setNRelationName{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setNRelationName-String_des|trigger=button|text=}{sub-section}{sub-section:setNRelationName-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setNRelationName-String_snc|trigger=button|text=}{sub-section}{sub-section:setNRelationName-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setNRelationName-String_prs|trigger=button|text=}{sub-section}{sub-section:setNRelationName-String_prs|trigger=none|class=sIndent}\{[String]} name
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setNRelationName-String_ret|trigger=button|text=}{sub-section}{sub-section:setNRelationName-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setNRelationName-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationName-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setNRelationName-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationName-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setNRelationName-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setNRelationName-String_sam|trigger=none}{code:language=javascript}
Table Body (tbody) |
---|
id | setHasCheckBoxDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setHasCheckBoxDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setHasCheckBoxDataprovider |
Span |
---|
(hasCheckBoxDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set has checkbox flag dataprovider. Dataprovider returns INTEGER (0 / 1 / 2) or STRING (false / true / disabled) for (does not have / have / have but disabled) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} hasCheckBoxDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setHasCheckBoxDataprovider('hasCheckBox'); |
|
|
|
|
Table Body (tbody) |
---|
id | setImageMediaDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setImageMediaDataprovider |
Span |
---|
(imageMediaDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set the dataprovider name to retrieve the node image from (blob column) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} imageMediaDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'customers');
binding.setImageMediaDataprovider('company_icon'); |
|
|
|
|
Table Body (tbody) |
---|
id | setImageURLDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setImageURLDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setImageURLDataprovider |
Span |
---|
(imageURLDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set the dataprovider name to retrieve the node image from (via url) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} imageURLDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setImageURLDataprovider('order_icon'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMRelationDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMRelationDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setMRelationDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set m-relation dataprovider. Dataprovider returns the name of the m-relation |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setMRelationDataprovider('m_relation'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMRelationName-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMRelationName |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setMRelationName('m_relation_name'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMethodToCallOnCheckBoxChange-Function_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMethodToCallOnCheckBoxChange |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setMethodToCallOnCheckBoxChange |
Span |
---|
(methodToCallOnCheckBoxChange, returnDataproviderOnCheckBoxChange) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set method to call on check box status change |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Function} methodToCallOnCheckBoxChange {String} returnDataproviderOnCheckBoxChange |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnCheckBoxChange(onCheckBoxChangeMethod,'orderdate'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMethodToCallOnClick-Function_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMethodToCallOnClick |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setMethodToCallOnClick |
Span |
---|
(methodToCallOnClick, returnDataproviderOnClick) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set method to call on click.\nThe callback will be called with the following arguments : returnDataprovider, tableName, mouseX, mouseY |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), |
|
|
|
| controller.getTableName())setNRelationName'n_relation_name');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setTextDataprovider-String|class=node}{tr:id=name}{td}h6.setTextDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setTextDataprovider{span}{span:id=iets|style=float: left;}\(textDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setTextDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setTextDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setTextDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setTextDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setTextDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setTextDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} textDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setTextDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setTextDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setTextDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTextDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setTextDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTextDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setTextDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setTextDataprovider-String_sam|trigger=none}{code:language=javascript}
var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setTextDataprovider('orderid');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setToolTipTextDataprovider-String|class=node}{tr:id=name}{td}h6.setToolTipTextDataprovider{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setToolTipTextDataprovider{span}{span:id=iets|style=float: left;}\(toolTipTextDataprovider){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setToolTipTextDataprovider-String_des|trigger=button|text=}{sub-section}{sub-section:setToolTipTextDataprovider-String_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setToolTipTextDataprovider-String_snc|trigger=button|text=}{sub-section}{sub-section:setToolTipTextDataprovider-String_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setToolTipTextDataprovider-String_prs|trigger=button|text=}{sub-section}{sub-section:setToolTipTextDataprovider-String_prs|trigger=none|class=sIndent}\{[String]} toolTipTextDataprovider
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setToolTipTextDataprovider-String_ret|trigger=button|text=}{sub-section}{sub-section:setToolTipTextDataprovider-String_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setToolTipTextDataprovider-String_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setToolTipTextDataprovider-String_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setToolTipTextDataprovider-String_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setToolTipTextDataprovider-String_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setToolTipTextDataprovider-String_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setToolTipTextDataprovider-String_sam|trigger=none}{code:language=javascript}
onClickMethod,'orderid'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMethodToCallOnDoubleClick-Function_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMethodToCallOnDoubleClick |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setMethodToCallOnDoubleClick |
Span |
---|
(methodToCallOnDoubleClick, returnDataproviderOnDoubleClick) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set method to call on double click.\nThe callback will be called with the following arguments : returnDataprovider, tableName, mouseX, mouseY |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Function} methodToCallOnDoubleClick {String} returnDataproviderOnDoubleClick |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnDoubleClick(doubleClickMethod,'orderid'); |
|
|
|
|
Table Body (tbody) |
---|
id | setMethodToCallOnRightClick-Function_String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setMethodToCallOnRightClick |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setMethodToCallOnRightClick |
Span |
---|
(methodToCallOnRightClick, returnDataproviderOnRightClick) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set method to call on right click.\nThe callback will be called with the following arguments : returnDataprovider, tableName, mouseX, mouseY |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {Function} methodToCallOnRightClick {String} returnDataproviderOnRightClick |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setMethodToCallOnRightClick(rightClickMethod,'orderid'); |
|
|
|
|
Table Body (tbody) |
---|
id | setNRelationDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setNRelationDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setNRelationDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set n-relation dataprovider. Dataprovider returns the name of the n-relation |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setNRelationDataprovider('n_relation'); |
|
|
|
|
Table Body (tbody) |
---|
id | setNRelationInfos-RelationInfoArray |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setNRelationInfos |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set n-relation infos (array of RelationInfo objects created using tree.createRelationInfo() for having multiple child relations for one node) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var company_relations = new Array();
company_relations[0] = tree.createRelationInfo();
company_relations[0].setLabel('Employees');
company_relations[0].setNRelationName('companies_to_employees');
company_relations[1] = tree.createRelationInfo();
company_relations[1].setLabel('Customers');
company_relations[1].setNRelationName('companies_to_customers');
binding.setNRelationInfos(company_relations); |
|
|
|
|
Table Body (tbody) |
---|
id | setNRelationName-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setNRelationName |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), controller.getTableName());
binding.setNRelationName('n_relation_name'); |
|
|
|
|
Table Body (tbody) |
---|
id | setTextDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setTextDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'orders');
binding.setTextDataprovider('orderid'); |
|
|
|
|
Table Body (tbody) |
---|
id | setToolTipTextDataprovider-String |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
setToolTipTextDataprovider |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Span |
---|
| setToolTipTextDataprovider |
Span |
---|
(toolTipTextDataprovider) |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| Set the dataprovider name to retrieve the node tooltiptext from |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Parameters Div |
---|
| {String} toolTipTextDataprovider |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var binding = elements.dbtreeview.createBinding(controller.getServerName(), 'customers');
binding.setToolTipTextDataprovider('companyname'); |
|
|
|
|
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} |