4 ms·
https://gitlab.com/docmenthol/autotable https://gitlab.com/docmenthol/autotable It's a datatable written in Elm. I wrote it early on while I was learning, so I
by sli 6y ago
https://gitlab.com/docmenthol/autotable https://gitlab.com/docmenthol/autotable
It's a datatable written in Elm. I wrote it early on while I was learning, so I'm certain there is a lot I could update about it. Even still, it does its job pretty well. Sorting, filtering, editing, and reordering columns are all there. The way it's constructed allows new features to be built on top of it without any need to learn a table (or component) API. Just interact with the table state directly, the types make it pretty easy.
One major problem is that columns are obnoxious to define. It's just a giant record type. And in general I'm just not happy with the code. I'll likely revisit this project again soon and rewrite some key parts.