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

Row re-ordering feature (drag/drop to move rows)

Open swalters opened this issue 12 years ago • 12 comments

Add a feature that allows user to rearrange rows by drag/drop much like we do for drag/drop columns #946.

swalters avatar Aug 06 '14 15:08 swalters

just curious, is this one going to happen?

goleafs avatar Mar 25 '15 14:03 goleafs

Only if someone builds it. Nobody is currently working on it, so probably only if someone new decides to work on it and submits a PR.

PaulL1 avatar Mar 25 '15 19:03 PaulL1

Honestly the only hard thing is making sure it plays nice with all thee other features. The actual drag and drop and reordering is pretty straightforward.

c0bra avatar Mar 26 '15 00:03 c0bra

What about dragging and dropping rows from one instance of a grid to another?

tedhohio avatar Jun 22 '15 13:06 tedhohio

https://github.com/cdwv/ui-grid-draggable-rows

homerjam avatar Jun 26 '15 12:06 homerjam

Wow, awesome. I haven't tried it out, but you actually built a plugin using @c0bra's plugin architecture. I think that makes you the first!!

PaulL1 avatar Jun 26 '15 20:06 PaulL1

I think he used his own architecture, but @homerjam is definitely one of the first to write a plugin that I've seen!

c0bra avatar Jun 26 '15 20:06 c0bra

I'd love to take credit but this is actually @cdwv's work. I just posted it here as it seemed relevant and potentially useful. Would there be any possibility of integrating it? Or do you think its best as a plugin?

homerjam avatar Jun 27 '15 19:06 homerjam

@homerjam I think best as a plugin. We're wanting to keep core as slim as possible, and honestly a lot of the features that we have currently would be best done as plugins.

c0bra avatar Jun 29 '15 15:06 c0bra

Should we consider adding a 3rd party plugin list to our readme?

JLLeitschuh avatar Jun 29 '15 16:06 JLLeitschuh

I'm creator of https://github.com/cdwv/ui-grid-draggable-rows, project is maintained so if you have any questions or problems with the plugin please let me know - I will try to help you.

Many thanks to @homerjam for a lot of improvements!

skrajewski avatar Sep 16 '15 12:09 skrajewski

closing as @skrajewski meets the requirements. A link to that repository has been added to third party features list.

swalters avatar Sep 16 '15 20:09 swalters