Skip to content

Grid with moved columns copies in incorrect order #597

@mattrunyon

Description

@mattrunyon

Description

The copy selection handler copies the original order of the table, not the visible order

Steps to reproduce

  1. Use this Python code
from deephaven import new_table
from deephaven.column import int_col

base = new_table([
   int_col("A", [1]),
   int_col("B", [2]),
   int_col("C", [3]),
   int_col("D", [4]),
   int_col("E", [5]),
   int_col("F", [6])
])
  1. Drag column B to the right to switch with column C.
  2. Select and copy the row
  3. Paste somewhere else (like a notebook or the console)

Expected results

Pastes 1 3 2 4 5 6

Actual results

Pastes 1 2 3 4 5 6

Versions

  • Deephaven: 0.12

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggridpackage/grid

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions