I am a column which can colorize the text of columns under certain circumstances. I take a color and an extra function which will be called for each row
Example, to colorize negative values to red:
>>> def colorize(value): ... return value < 0 ... ... ColoredColumn('age', data_type=int, color='red', ... data_func=colorize),
Function | __init__ | Creates a new Column, which describes how a column in a |
Function | on_attach_renderer | Undocumented |
Function | renderer_func | Undocumented |
Creates a new Column, which describes how a column in a ObjectList should be rendered.