Forum

Thread tagged as: Addons, Api, Add-on-development

custom add-on reorder row feature

I need client to reorder rows in admin area of custom addon, how do I enable it so that native perch type drag-and-drop ordering is enabled.

sawan ruparel

sawan ruparel 0 points

  • 5 years ago
Simon Clay

Simon Clay 127 points

Hi, it's possible a developer may be able to help. You'll need to give a bit more info about the add-on though.

I have an app with admin area showing list of entries. i am showing those entries at runtime. All is working fine except I don't have the fancy drag and drop.

I could add a field for ordering manually, but that would not look good if some of perch admin pages can be reordered by drag-and-drop, but custom once cannot.

If there is any reference or a mod that has already done this, I could may be look at it and learn.

Simon Clay

Simon Clay 127 points

The Sample App might give some clues. I think it might have that functionality.

https://docs.grabaperch.com/api/sample-app/

Edit... actually I'm not sure it does.

It does not :-(

that has been my reference point so far

I also looked at the blog app

Simon Clay

Simon Clay 127 points

Right.

Both Categories and Content have 're-ordering' which might help.

/perch/core/apps

That's true. thanks again Simon.