datahub
datahub copied to clipboard
FlatUiTable component potential improvements
Tasks
- [x] investigate if it's possible to configure column by which data is sorted in our FlatUiTable component
- [x] if not, investigate how can we enable it (note FlatUiTable is a wrapper around https://github.com/githubocto/flat-ui)
- [x] (bonus) see if we can enable other useful options that are not currently supported
- [ ] implement
Notes
From César's feedback on using DataHub Cloud:
For example, the FlatUITable component, ideal for tables, is designed to take the first column as the index column, which means the component will sort the data by the first column.
The detail is that sometimes I want to sort the data referencing to another column and not in descending order (numbers) or from A to Z as it is preset.
Faced with this scenario, I found that I had two alternatives: set a first index column in your dataset or put the field I would like to sort the data by in the first column.