forked from ddrilling/asb_cloud_front
Добавлена возможность использовать внешний onCell в EditableTable
This commit is contained in:
parent
f4a3c0f293
commit
4bacf7f9e1
@ -188,6 +188,7 @@ export const EditableTable = memo(({
|
|||||||
return {
|
return {
|
||||||
...col,
|
...col,
|
||||||
onCell: (record) => ({
|
onCell: (record) => ({
|
||||||
|
...col.onCell?.(record),
|
||||||
editing: isEditing(record),
|
editing: isEditing(record),
|
||||||
record,
|
record,
|
||||||
dataIndex: col.dataIndex ?? col.key,
|
dataIndex: col.dataIndex ?? col.key,
|
||||||
|
Loading…
Reference in New Issue
Block a user