@kanunilabs/datagrid 1.9.11 → 1.9.12

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.
package/dist/index.d.cts CHANGED
@@ -743,6 +743,14 @@ interface CreateGridConfig<TRow = GridRowData> extends Omit<DataGridCoreConfig<T
743
743
  * totals themselves.
744
744
  */
745
745
  footerPosition?: 'top' | 'bottom';
746
+ /**
747
+ * Keep the bottom totals row on the grid's bottom edge when there are too few
748
+ * rows to reach it (Tekax B.3), as a desktop data grid does. Default false:
749
+ * the row follows the last data row and sticks to the edge only once the rows
750
+ * scroll. Rows pinned to the bottom (`pinnedBottomRows`) move down with it.
751
+ * No effect with `footerPosition: 'top'`.
752
+ */
753
+ pinFooterToBottom?: boolean;
746
754
  /**
747
755
  * Cell notes (P3.3): a marker on noted cells, the note as the hover
748
756
  * tooltip, and — with `onChange` — add/edit/delete on the row menu with an
package/dist/index.d.ts CHANGED
@@ -743,6 +743,14 @@ interface CreateGridConfig<TRow = GridRowData> extends Omit<DataGridCoreConfig<T
743
743
  * totals themselves.
744
744
  */
745
745
  footerPosition?: 'top' | 'bottom';
746
+ /**
747
+ * Keep the bottom totals row on the grid's bottom edge when there are too few
748
+ * rows to reach it (Tekax B.3), as a desktop data grid does. Default false:
749
+ * the row follows the last data row and sticks to the edge only once the rows
750
+ * scroll. Rows pinned to the bottom (`pinnedBottomRows`) move down with it.
751
+ * No effect with `footerPosition: 'top'`.
752
+ */
753
+ pinFooterToBottom?: boolean;
746
754
  /**
747
755
  * Cell notes (P3.3): a marker on noted cells, the note as the hover
748
756
  * tooltip, and — with `onChange` — add/edit/delete on the row menu with an