From bb72e43f430b6c6af1c755d6372acab0db3394af Mon Sep 17 00:00:00 2001 From: Melloware Date: Thu, 11 Jan 2024 13:21:22 -0500 Subject: [PATCH] Fix #5640: Column dynamically evaluate rowEditor (#5749) --- 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