Cell range selection only works correctly when columns stay in original order · Issue #1400 · JAM-Software/Virtual-TreeView · GitHub
Skip to content

Cell range selection only works correctly when columns stay in original order #1400

Description

@PatrickN-GH

I am using the relatively new feature cell selection and observed the following issue:
When selecting multiple cells with the Shift key pressed, the resulting selection is not as expected when columns have been reordered. This is because the direction of selection from the start cell is determined by comparing column indices instead of the actual column position, which would be the correct way. This happens in unit VirtualTrees.BaseTree.pas and affects (at least) procedures "ToggleCellSelection", "InternalSelectCells" and "InternalUnselectCells".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions