You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
611 B

  1. This module aims to add support for dynamically coloring fields in tree view
  2. according to data in the record.
  3. It provides attributes on fields with the similar syntax as the ``colors`` attribute
  4. in tree tags.
  5. Further, it provides a ``color_field`` attribute on tree tags's ``colors`` to use
  6. a field's value as color.
  7. Features
  8. ========
  9. * Add attribute ``bg_color`` on field's ``options`` to color background of a cell in tree view
  10. * Add attribute ``fg_color`` on field's ``options`` to change text color of a cell in tree view
  11. * Add attribute ``color_field`` on the tree element's ``colors`` to use as color