Skip to content

getSelectedRange() returns an incorrect value after setting "colPinStart"Β #791

@wccd

Description

@wccd

package version: "@revolist/vue3-datagrid": "^4.17.3"
env: vue3

columns = [
    {
        "prop": "col1",
        "name": "A",
        "size": 130,
        "pin": "colPinStart"
    },
    {
        "prop": "col2",
        "name": "B",
        "size": 130
    },
    {
        "prop": "col3",
        "name": "C",
        "size": 130
    },
    {
        "prop": "col4",
        "name": "D",
        "size": 130
    },
    {
        "prop": "col5",
        "name": "E",
        "size": 130
    }
]

in my case,the first column and second column has the same index "0" after setting pin: "colPinStart".
getSelectedRange() return { x: 0, x1: 0 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions