Skip to content

Add LabelBar datagrid mode#3156

Merged
texodus merged 2 commits intomasterfrom
label-bar
Apr 13, 2026
Merged

Add LabelBar datagrid mode#3156
texodus merged 2 commits intomasterfrom
label-bar

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Apr 12, 2026

  • LabelBar datagrid formatting mode: Adds a new label-bar option to number_fg_mode for numeric columns. Unlike plain bar mode which only renders a proportional fill, label-bar overlays the formatted numeric value on top of the bar using CSS mix-blend-mode: difference for contrast against the fill color.

    Screenshot 2026-04-10 at 8 57 30 PM

  • SELECT_ROW_TREE selection mode: Adds a new datagrid edit mode for tree-aware row selection. Available only when group_by is active (non-flat rollup), this mode tracks selections by tree identity rather than flat row index, enabling hierarchical filtering. Introduces a perspective-global-filter event.

  • Workspace global filter rework: Replaces the selectable attribute-based master/detail filtering with SELECT_ROW_TREE mode and perspective-global-filter events. Master widgets now restore with edit_mode: "SELECT_ROW_TREE" and detail widgets with READ_ONLY, and event listeners are properly added/removed (fixing leaked bound-function listeners).

Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the enhancement Feature requests or improvements label Apr 12, 2026
@texodus texodus marked this pull request as ready for review April 13, 2026 17:37
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus merged commit 0275fc5 into master Apr 13, 2026
16 checks passed
@texodus texodus deleted the label-bar branch April 13, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant