Changes from V5:
update functiondecoder comes from SortableTable type
Creates a placeholder column which will reserve the space for the column, this can be used when multiple tables have similar data and we want to keep the size consistent.
Create a sorter function that always orders the entries in the same order. For example, this is useful when we want to resolve ties and sort the tied entries by name, no matter of the sort direction set on the table.
Create a simple sorter function that orders entries by mapping a function over the collection. It will also reverse it when the sort direction is descending.
Customize how the table is rendered, for example by adding sorting or stickiness.
Make the header sticky (that is, it will stick to the top of the viewport when it otherwise would have been scrolled off.) You probably will want to set a background color on the header as well.
Does the same thing as stickyHeader, but with adaptations for your
specific use.
How the header will be set up to be sticky.
topOffset controls how far off the top of the viewport the headers will
stick, in pixels. (Default value: 0)zIndex controls where in the stacking context the header will end
up. Useful to prevent elements in rows from appearing over the header.
(Default value: 0)Headers are never sticky on mobile-sized viewports because doing so causes some accessibility issues with zooming and panning.
Attributes forwarded to the underlying Nri.Ui.Table