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

Add ability to add column reordering [Feature]

Open dkwin opened this issue 10 years ago • 7 comments

I'm submitting a ... (check one with "x")

[ ] bug report
[ x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md

Current behavior

As of right now, column reordering is not supported but row reordering is.

Expected/desired behavior

User should be able to reorder columns via drag and drop or some other means to designate the new order of the columns.

Reproduction of the problem N/A

What is the motivation / use case for changing the behavior?

Ability to re-order columns would be a huge UX boon to the component.

dkwin avatar Oct 19 '16 17:10 dkwin

Is there any work done on this, or any timeline when this will be available?

akhildhargave avatar Oct 28 '16 21:10 akhildhargave

Thanks for your feedback.

We will implement this somewhere in the future, in the meantime if someone opens a PR we will review and merge it.

Cheers. Diogo

diogofcunha avatar Oct 31 '16 11:10 diogofcunha

Did this ever get implemented?

jlarso11 avatar Jan 18 '17 16:01 jlarso11

+1 to this. It is the kind of feature you don't want to have to tack on to a 3rd party library so it could be the difference between this library being used in projects and not.

pmchugh3 avatar Feb 14 '17 10:02 pmchugh3

Here is more info https://github.com/adazzle/react-data-grid/issues/103

martinnov92 avatar Mar 18 '17 11:03 martinnov92

Pull request was made https://github.com/adazzle/react-data-grid/pull/702

martinnov92 avatar Mar 18 '17 11:03 martinnov92

Merged in https://github.com/adazzle/react-data-grid/pull/702

malonecj avatar Jan 26 '18 14:01 malonecj