react-redux-grid icon indicating copy to clipboard operation
react-redux-grid copied to clipboard

Reorder Columns with Drag and Drop no longer working (first noticed 2017-02-03)

Open jstafford opened this issue 8 years ago • 4 comments

Reordering the columns by clicking and dragging no longer works with the latest code. I first noticed this looking at the example app on herokuapp on Friday, 2017-02-03

To reproduce:

  1. go to http://react-redux-grid.herokuapp.com/ in your browser
  2. select the "Complex" example from the Examples side bar on the left
  3. click on the word "Phone" in the grid header, drag it to the right of the word "Email" and release the mouse

Observed behavior:

  • The ghost drag image disappears, and nothing changes in the grid.

Expected behavior:

  • The Phone Number column is moved to the right of the Email column.

jstafford avatar Feb 06 '17 16:02 jstafford

Thanks for posting, I'm working on a resolution as we speak. Will push once complete.

bencripps avatar Feb 06 '17 16:02 bencripps

I've thought about this, and I think rather than simply fixing this bug I'm going to utilize the react-dnd library that we use for dragging/dropping the tree rows. Soooo, that will take a little more time, but it will rule in the end.

Let me know if you have any thoughts.

bencripps avatar Feb 06 '17 17:02 bencripps

Makes sense to me, using react-dnd everywhere seems like the way to go.

jstafford avatar Feb 06 '17 19:02 jstafford

Hey, any update on when draggable columns will work again? :)

JimLynchCodes avatar Aug 18 '17 21:08 JimLynchCodes