Skip to content

BlitzTable: drag/drop sortable #116

Open

Description

@Bruno17

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?

Activity

  1. mesqueeb commented on Feb 13, 2022

    @mesqueeb
    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 ?

  2. Bruno17 commented on Feb 13, 2022

    @Bruno17
    Author

    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

  3. Bruno17 commented on Feb 13, 2022

    @Bruno17
    Author

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

  4. mesqueeb commented on Feb 13, 2022

    @mesqueeb
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions