Augment the table control's columns capabilities #1439
Labels
🖰 GUI
Related to GUI
📈 Improvement
Improvement of a feature.
🟩 Priority: Low
Low priority and doesn't need to be rushed
📝Release Notes
Impacts the Release Notes
Description
The columns property of
table
can be set to a dictionary where, for every column, one can customize:This issue is about considering adding support for all indexed properties of the table:
group_by
, set to the name of the aggregation function, would indicate the table would perform an aggregation on this column using this function;style
, if set to a string, would add it as a CSS class to this column's cells;tooltip
, if set to some text, would be the text used when the column is hover over;filter
, if set to True, allows for filtering on this column;nan_value
, if set to some text, would have the table use that as the representation for a 'no value' cell;editable
, if set to True, allows for editing this column;lov
could be set to a list of string values that are allowed for this column.width
could be set to force the width of this column.Setting
columns[<column_name>].<property>
would overwrite a potentialtable.<property>[<column_name>]
.Note that we may also want to add the indexed
title
property totable
... for homogeneity.Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: