From c3b4703db2145d1b811cee1c5462f6eb2e912d44 Mon Sep 17 00:00:00 2001 From: melloware Date: Thu, 11 Jan 2024 13:20:57 -0500 Subject: [PATCH] Fix #5640: Column dynamically evaluate rowEditor --- components/lib/column/column.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/column/column.d.ts b/components/lib/column/column.d.ts index ae54faca6f..3621252555 100644 --- a/components/lib/column/column.d.ts +++ b/components/lib/column/column.d.ts @@ -1049,7 +1049,7 @@ export interface ColumnProps { * Displays icons to edit row. * @defaultValue false */ - rowEditor?: boolean | undefined; + rowEditor?: boolean | ((data: any, options: ColumnBodyOptions) => boolean); /** * Whether this column displays an icon to reorder the rows. * @defaultValue false