Property name | Type | Default | Description | Sample value |
TreeNr | String | “1” | Specify number of trees you use on one xpage | “1” or “2” |
Server | String | “” | The server where the target view's db locates, empty(default) means the session's server. | “127.0.0.1” |
DbFullpath | String | “” | The path of the target view's db on the server, empty(default) means current db. | “treeDemo.nsf” |
ViewName | String |
| The target view's name. | “All Contacts” |
view_CategoryFilter | String | “” | Filter on the first category in the view. | “Company Contacts” |
doc_TitleFieldName | String |
| Field name of document shown on the tree's leaf nodes. | “doc_Field1” |
doc_TitleEnableHTML | Bool | True | If true, leaf nodes will be rendered as html | True or False |
doc_TitleHrefTitle_ColNr | String
| “” | The view colum number that is used to link to. This column includes the full
| “3” |
doc_TitleHrefLink_ColNr | String
| “” | The view colum number includes the actual link to the document, not including html. Specify when doc_TitleEnableHTML = true | “4” |
doc_IconColumnNr | String
|
| The view colum number includes the name of the icon.
| “5” |
doc_OnClickEvent | String | “” | The script(JavaScript) to be run when clicking the tree's leaf nodes. Specify when doc_TitleEnableHTML = false | “var value = jsonStore.getValue(item, "title"); alert(value);” |