u
This commit is contained in:
1 parent
f3936cec61
commit
15e0ae5b67
115 files changed
+11399
-2741
No files matched your search
@@ -39,7 +39,9 @@ const columns: G3TableColumn<TableRow>[] = [
|
||||
dataIndex: 'remark',
|
||||
title: '备注(textarea)',
|
||||
width: 180,
|
||||
editor: { type: 'textarea' },
|
||||
// 按行禁用:这一行「改不了」时铺灰底(无需先点开)。这里演示常见的
|
||||
// 「停用之后不许再改备注」——第 2 行 status=0,所以它的备注格是灰的。
|
||||
editor: { type: 'textarea', disabled: (row) => row.status === 0 },
|
||||
},
|
||||
{
|
||||
dataIndex: 'owner',
|
||||
|
||||
Reference in new issue
Block a user