Custom renderers with dark mode
Source code
Loading...
-
Dark mode:
options.mode = 'dark'
: Set mode dark
-
API response format:
oa2aa(response.data)
: convertsobject in array
toarray in array
-
Custom renderer:
- ThousandSeparatorRendererMixin: renders a number with comma. (built-in)
- ImageRendererMixin: renders an image related to the string as a link.
- LinkRendererMixin: renders a string as a link.
-
Cell label
options.labelers
: Functions to make label by object.cell.labeler
: Name to extract the label function above.
-
Freeze number of columns.
options.minNumCols = 5
options.maxNumCols = 5