DataTable - Add optional options.fields prop
Background
The current DataTable visualization was created to be used primarily for data coming from a CSV, this means there are some limitations in the implementation, primarily:
- No ability to specify the order fields
- No ability to exclude fields from display
Implementation guide
-
Support a new options.fieldsprop, this should override the default method for generating fields, if the prop is present -
Update the storybook examples
Edited by Ezekiel Kigbo