Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/



Thanks for your feedback.

I agree that Grid.js is not a full-featured plugin _yet_ and it's still missing essential features, like those that you mentioned but please bear in mind that:

- I have only released the first version of the library.

- I have been focusing on fundamental blocks of a lightweight _data processing_ library (see: https://github.com/grid-js/gridjs/tree/master/src/pipeline). That's what took most of my time.

- Grid.js is framework agnostic which is a bit different compared to other libs

The pipeline is very easy to extend and I'm confident that most of those features will be added soon.


I don't doubt that you can and possibly will make this a great library. It seems like a nice and clean foundation for one. I just commented on the word 'advanced' in the title. You admitted yourself that it's missing essential features, so advanced might be an adjective you'd want to use for release 2.0 ;)


I do appreciate being framework agnostic. I think more common components like this would benefit from being built that way.


Checkout Frappe Datatables (https://frappe.io/datatable) (MIT License) it has most of what you need.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: