Comment

Comment by Bishonen88

Good effort! I'm not sure how 'advanced' it is though. I'd even go as far as call it 'simple'?

E.g. the following features would be required to make it advanced (list not complete):

- Export data (csv)

- Align columns based on their content

- Tree data (parent/child rows)

- Total rows

- Formatting applied based on data type (currency, numerical etc.)

- Reordering columns

- Resizing columns

- Hiding columns

- Optional filter field for every column

- Conditional formatting

- Tripple Sorting & Multiple sorting (sort by more than 1 column at a time)

- ... more

In the react world, I found this to be a good foundation for an 'advanced' table. Since it's rather inconsistently developed, I ended up forking it for myself and working on my own copy, removing unneeded elements and enhancing with everything else I do need.

https://material-table.com/

parent Bishonen88 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton