6pac / SlickGrid

A lightning fast JavaScript grid/spreadsheet
https://stackblitz.com/github/6pac/SlickGrid/tree/master/vite-demo
MIT License
1.84k stars 423 forks source link

chore: fix simple reordering example with Row Move, fixes issue #1037 #1042

Closed ghiscoding closed 3 months ago

ghiscoding commented 3 months ago

fixes#1037 for example9-row-reordering-simple.html, the drag column that was previously shown was actually a regular column, but the issue was that we need to use moveRowsPlugin.getColumnDefinition() to get the proper Row Move plugin column that we then need to add to the current column definitions (in other words, we cannot simply create a column and expect it to be draggable, we really need to get the said column by asking the plugin to dynamically return that correct drag column for us

brave_2h9sfcLUCC