hikaya-io / hakawati

A collection of UI components
GNU General Public License v3.0
2 stars 1 forks source link

`Spreadsheet` + `H Table` components: Ability to filter a column by its dropdown values (if it is a dropdown field) (built in element) #241

Closed ninetteadhikari closed 2 years ago

ninetteadhikari commented 2 years ago

https://element.eleme.io/#/en-US/component/table#filter

Design

Component

image

Component in use on the Indicator page in Metrics. For columns that have more than 5 options, enable the scroll. The user will be able to also use the search input field to find other options:

image

This is an example from Google Sheets: image

andrewtpham commented 2 years ago

@michaelbukachi For filtering a column by its dropdown values, I saw revogrid had some related documentation on advanced filtering:

andrewtpham commented 2 years ago

Hey @michaelbukachi I realized we already have this built into the Member Table for the Dots workspace. Can we add this functionality to the h-table-edit-enabled component and in the new spreadsheet-table component you're working on?

image