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

[Suggestion] Extend features of table (filter, group, sort, ...) #78

Open
Primenotes opened this issue May 29, 2022 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@Primenotes
Copy link

Hey guys, wouldnt it be nice to have extend table features (e.g. group by column/filter/sorting/...)?

I found this example for grouping, to show the feature (it would be awesome to have reflections on the parent of each dynamic group):
https://svelte.dev/repl/8e810d253d4e4d86a41a6ff02729c6b6?version=3.48.0

'Header Less Table' (used in the REPL) seems to be discontinued for 'Tanstack Table'.

Looking at this, layout of rows doesnt seem so different from rowStore used in 'Svelte Gantt' (https://tanstack.com/table/v8/docs/api/core/row). Maybe they are willing to include missing row properties like Y-Positions and AllParents.

Any thoughts?

@Primenotes Primenotes changed the title [Suggestion] Replace table module [Suggestion] Extend features of table (filter, group, sort, ...) May 29, 2022
@V-Py V-Py added the enhancement New feature or request label May 29, 2022
@V-Py
Copy link
Collaborator

V-Py commented May 29, 2022

Hey, really good ideas, actually I already implemented a sorting/searching/filtering system in Svelte Gantt for one of my project.
I'll post a little demo of the functionalities tomorrow so you can tell me about any enhancements you'd think of.

For the grouping functionalities, very interesting and might be possible too but didn't do it for now !

@V-Py
Copy link
Collaborator

V-Py commented May 31, 2022

Filter feature

filter

Search feature (using scrollToRow)
search

Broom feature (clean the empty lines)
broom

I'm also using more features on each line (see the extra dots on the left) such as

  • Add line above
  • Move line up
  • Duplicate line
  • Delete line
  • Move line down
  • Add line under

@Primenotes
Copy link
Author

Looks nice! Did you build this with the current row API?

It will be interesting to see if groups can be added and how features interact with tree rows. Would you mind to commit examples above as a demo?

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

No branches or pull requests

2 participants