Ticket #9937 (closed enhancement: fixed)
Tree: Extend dijit.Tree to allow styling of complete row
| Reported by: | shaneosullivan | Owned by: | shaneosullivan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | Dijit | Version: | 1.3.2 |
| Severity: | normal | Keywords: | |
| Cc: | nonken |
Description
The dijit.Tree widget currenltly allows the user to apply styles to labels and icons, but there is no facility for adding a CSS class to the rowNode.
The prevents customizations such as varying backgrounds on a per-node basis.
The solution would be similar to that used for icons:
- Add a function 'addRowClass' to the tree, which users can override.
- Change the '_updateItemClasses' on dijit._TreeNode to use this function to get the CSS class to apply to the rowNode
Attachments
Change History
Note: See
TracTickets for help on using
tickets.