@webx-ui/core 0.36.1 → 0.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -241,6 +241,13 @@ export interface TableProps<T = TableRow> {
241
241
  * A number is pixels; a string is any CSS length, so `60vh` follows the window.
242
242
  */
243
243
  maxHeight?: string | number;
244
+ /**
245
+ * Keeps the heading row in sight while the page — or the drawer, the pane that scrolls the
246
+ * table — is scrolled past a long table. A number is the gap in pixels left above it for a bar
247
+ * that covers the top of that area. On by default; with `maxHeight` the table scrolls its own
248
+ * rows and the heading sticks there instead.
249
+ */
250
+ stickyHeader?: boolean | number;
244
251
  /** Extra class per row, for status colouring and the like. */
245
252
  rowClass?: (row: T, index: number) => string | undefined;
246
253
  /** Draws the rows as a tree. See {@link TableTreeOptions}. */