This is a WIP first pass at HTML tables. Right now, it supports limit and offset with pagination and selecting results per page.
There are still some features missing:
[x] add or remove which columns are displayed (select)
[x] sort by one or more columns, ascending or descending (order)
[x] add where clauses (colname as query parameter)
I want to think about the best UI for each of these. I don't know how difficult it would be, but maybe we could have a little filter icon next to each column header which sorts kind of like an Excel sheet, but we need to show if it's asc/desc. I'm the most unsure about the best UI for adding in the where clauses, since we're using a specific grammar for these.
This is a WIP first pass at HTML tables. Right now, it supports
limit
andoffset
with pagination and selecting results per page.There are still some features missing:
select
)order
)I want to think about the best UI for each of these. I don't know how difficult it would be, but maybe we could have a little filter icon next to each column header which sorts kind of like an Excel sheet, but we need to show if it's asc/desc. I'm the most unsure about the best UI for adding in the where clauses, since we're using a specific grammar for these.