Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlitzTable: drag/drop sortable #116

Open
Bruno17 opened this issue Feb 13, 2022 · 4 comments
Open

BlitzTable: drag/drop sortable #116

Bruno17 opened this issue Feb 13, 2022 · 4 comments

Comments

@Bruno17
Copy link

Bruno17 commented Feb 13, 2022

Blitzar seems to be an absolutely great piece of code to generate forms and tables from json.
Do you think, it would be possible to implement drag/drop sortable rows into BlitzTable?

@mesqueeb
Copy link
Member

@Bruno17 i'll think about it, but it's extremely complex. The main issue is design choices like, what happens when you have multiple pages ?

@Bruno17
Copy link
Author

Bruno17 commented Feb 13, 2022

I know. I have that functionality implemented in MIGX
https://github.com/Bruno17/MIGX

It is all ExtJS/PHP in that case.
It is easy for a MIGX field/Template Variable, which doesn't have pagination.
But it works also for remotely paginated MIGXdb tables.
The code, which does the processing after dragging looks like that:
https://github.com/Bruno17/MIGX/blob/master/core/components/migx/templates/mgr/grids/dragdrop.grid.tpl#L100
https://github.com/Bruno17/MIGX/blob/master/core/components/migx/processors/mgr/default/handlepositionselector.php

I have all configs for forms and tables in MIGX stored as Json.
I'm looking for ways to rebuild the ExtJS stuff with Vue/Quasar.
I've looked into many Json Form Builders.
Blitzar seems to be the best option for me. The only requirement, which I've missed so far, would be some kind of dragsort functionality

@Bruno17
Copy link
Author

Bruno17 commented Feb 13, 2022

Seems to be an old request. Just stumbled over this comment:
quasarframework/quasar#5890 (comment)

@mesqueeb
Copy link
Member

@Bruno17 😅

I was young and restless haha.

The thing is, these days it's more difficult to find the time to work on open source. Especially since I don't personally need this feature.

I will probably end up trying to implement it within a few months when I find the time.
I'm open to sponsors if you want to speed up the process!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants