From 575420e7244a4ac368cb551a615989a211ec922e Mon Sep 17 00:00:00 2001 From: melloware Date: Sun, 12 Nov 2023 08:01:53 -0500 Subject: [PATCH] Fix #5288: Datatable add readonly frozenRow property --- components/lib/datatable/DataTableBase.js | 5 +++-- components/lib/datatable/datatable.d.ts | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index 90439094a6..f57c4fd58f 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -471,6 +471,7 @@ export const DataTableBase = ComponentBase.extend({ first: 0, footer: null, footerColumnGroup: null, + frozenRow: false, frozenValue: null, frozenWidth: null, globalFilter: null, @@ -502,8 +503,6 @@ export const DataTableBase = ComponentBase.extend({ onRowClick: null, onRowCollapse: null, onRowDoubleClick: null, - onRowPointerDown: null, - onRowPointerUp: null, onRowEditCancel: null, onRowEditChange: null, onRowEditComplete: null, @@ -512,6 +511,8 @@ export const DataTableBase = ComponentBase.extend({ onRowExpand: null, onRowMouseEnter: null, onRowMouseLeave: null, + onRowPointerDown: null, + onRowPointerUp: null, onRowReorder: null, onRowSelect: null, onRowToggle: null, diff --git a/components/lib/datatable/datatable.d.ts b/components/lib/datatable/datatable.d.ts index 1562904659..3b73e5c255 100644 --- a/components/lib/datatable/datatable.d.ts +++ b/components/lib/datatable/datatable.d.ts @@ -1149,6 +1149,10 @@ interface DataTableBaseProps extends Omit