Skip to content

Column Reorder: hidden columns triggering unnecessary re-order #5254

Closed
@dlgski

Description

@dlgski

If your grid has hidden columns and you try to move columns around. The hidden columns are triggering a change even when none is visibly occurring

Check out this Plunker: http://plnkr.co/edit/DoPGDWGV4sxuKfaTt85k?p=preview

There are 2 hidden columns between name and age. Move the age column around, but then place it back where it currently is. So, visibly, it did not move. However, due to the hidden columns, ui-grid picks up a move from column 4 to column 2 and will trigger the columnMove events.

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