diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx index 54fa121..4e24fda 100644 --- a/src/components/Table/index.tsx +++ b/src/components/Table/index.tsx @@ -1,5 +1,5 @@ import { ReactNode } from 'react' -import { Select, Table as RawTable } from 'antd' +import { InputNumber, Select, Table as RawTable } from 'antd' import { OptionsType } from 'rc-select/lib/interface' import { tryAddKeys } from './EditableTable' import { makeNumericSorter, makeStringSorter} from './sorters' @@ -144,7 +144,8 @@ export const makeNumericColumn = ( onFilter: filterDelegate ? filterDelegate(dataIndex) : null, sorter: makeNumericSorter(dataIndex), width: width, - render: renderDelegate??makeNumericRender(), + input: , + render: renderDelegate ?? makeNumericRender(), align: 'right', ...other })