Skip to content

Conversation

texodus
Copy link
Member

@texodus texodus commented Aug 20, 2025

This PR fixes perspective-viewer-datagrid to handle split_by columns which change due to a Table::update call which introduces a new value (or removes all instances of an existing one).

In order to implement this fix without requiring the datagrid to fetch all column names for each tick, two breaking API changes are introduced as well:

  • View::column_paths now takes optional ColumnWindow start_col and end_col bounds.
  • View::column_paths now no longer returns __ROW_PATH__ as an output column when a group_by is applied (though this column is still in the output data).
Screen.Recording.2025-08-23.at.9.11.39.PM.mov

@texodus texodus added the bug Concrete, reproducible bugs label Aug 20, 2025
@texodus texodus linked an issue Aug 20, 2025 that may be closed by this pull request
@texodus texodus force-pushed the fix-datagrid-columns branch from 1d97710 to cdf15a7 Compare August 24, 2025 01:45
@texodus texodus force-pushed the fix-datagrid-columns branch from cdf15a7 to 8a8556e Compare August 24, 2025 01:48
@texodus texodus marked this pull request as ready for review August 24, 2025 04:17
@texodus texodus merged commit 39ca2fa into master Aug 24, 2025
14 checks passed
@texodus texodus deleted the fix-datagrid-columns branch August 24, 2025 04:17
@texodus texodus changed the title Update column paths when the colun set changes in perspective-viewer-datagrid Update column paths when the column set changes in perspective-viewer-datagrid Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In grid view, columns pivoted on don't update as new data flows in
1 participant