ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Column Reorder: hidden columns triggering unnecessary re-order

Open dlgski opened this issue 10 years ago • 0 comments

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.

dlgski avatar Mar 24 '16 14:03 dlgski