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

Do you plan to implement the function of free sorting in the Datacore view. #41

Open
chiusuan opened this issue Feb 18, 2024 · 2 comments

Comments

@chiusuan
Copy link

For example, in a table, the order can be adjusted by dragging table rows and columns. In the card, you can move it up, down, left, and right.

@chiusuan chiusuan changed the title I would like to know if there are any plans to implement free sorting functionality in the Datacore view. Do you plan to implement the function of free sorting in the Datacore view. Feb 18, 2024
@blacksmithgu
Copy link
Owner

Column sorting (i.e., re-ordering columns) will be supported; implementing it via drag and drop is actually surprisingly hard so that may not be available immediately, but some way to move columns around will be.

Row-level sorting will not be drag-and-droppable probably, at least not now. Datacore supports sorting, but it is always on data in the actual rows. That being said, this can probably be kind of simulated by adding a "priority" or "order" field to the table which you can change to specify custom orderings.

@GamerGirlandCo
Copy link
Contributor

i can vouch for drag and drop being difficult to implement without a heavyweight library or reinventing the wheel 😭

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

3 participants