![]() Default: "glyphicon glyphicon-check" as defined by Bootstrap Glyphicons Sets the border color for the component set showBorder to false if you don't want a visible border. Sets the default background color used by all nodes, except when overridden on a per node basis in data. This is the core data to be displayed by the tree view. The following is a list of all available options. You can pass a new options object to the treeview at any time but this will have the effect of re-initializing the treeview. They are passed to the plugin on initialization, as an object. Options allow you to customise the treeview's default appearance and behaviour. Remember this is the object which will be passed around during selection events. You can extend the node object by adding any number of additional key value pairs that you require for your application. Used in conjunction with global showTags option to add additional information to the right of each node using Bootstrap Badges Extendible Takes precedence over global option levels. ![]() Whether or not a node is disabled (not selectable, expandable or checkable). Whether or not a node is checked, represented by a checkbox style glyphicon. False indicates the node should act as an expansion heading and will not fire selection events. Whether or not a node is selectable in the tree. ![]() Used in conjunction with global enableLinks option to specify anchor tag URL on a given node. The background color used on a given node, overrides global color option. ![]() The foreground color used on a given node, overrides global color option. The icon displayed on a given node when selected, typically to the left of the text. If you want to use your own then just add your class to this icon field. The icon displayed on a given node, typically to the left of the text.įor simplicity we directly leverage Bootstraps Glyphicons support and as such you should provide both the base class and individual icon class separated by a space.īy providing the base class you retain full control over the icons used. The text value displayed for a given tree node, typically to the right of the nodes icon. The following properties are defined to allow node level overrides, such as node specific icons, colours and tags. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |