| | |
| | | unref(isFixedHeightPage) && |
| | | props.canResize && |
| | | warn( |
| | | "'canResize' of BasicTable may not work in PageWrapper with 'fixedHeight' (especially in hot updates)" |
| | | "'canResize' of BasicTable may not work in PageWrapper with 'fixedHeight' (especially in hot updates)", |
| | | ); |
| | | }); |
| | | |
| | |
| | | getRawDataSource, |
| | | setTableData, |
| | | updateTableDataRecord, |
| | | deleteTableDataRecord, |
| | | insertTableDataRecord, |
| | | findTableDataRecord, |
| | | fetch, |
| | | getRowKey, |
| | |
| | | getFieldsValue: formActions.getFieldsValue, |
| | | clearSelectedRowKeys, |
| | | }, |
| | | emit |
| | | emit, |
| | | ); |
| | | |
| | | function handleTableChange(...args) { |
| | |
| | | tableElRef, |
| | | getColumnsRef, |
| | | getRowSelectionRef, |
| | | getDataSourceRef |
| | | getDataSourceRef, |
| | | ); |
| | | |
| | | const { customRow } = useCustomRow(getProps, { |
| | |
| | | getProps, |
| | | getScrollRef, |
| | | tableElRef, |
| | | getDataSourceRef |
| | | getDataSourceRef, |
| | | ); |
| | | |
| | | const { getFormProps, replaceFormSlotKey, getFormSlotKeys, handleSearchInfoChange } = |
| | |
| | | setPagination, |
| | | setTableData, |
| | | updateTableDataRecord, |
| | | deleteTableDataRecord, |
| | | insertTableDataRecord, |
| | | findTableDataRecord, |
| | | redoHeight, |
| | | setSelectedRowKeys, |
| | |
| | | @border-color: #cecece4d; |
| | | |
| | | @prefix-cls: ~'@{namespace}-basic-table'; |
| | | |
| | | [data-theme='dark'] { |
| | | .ant-table-tbody > tr:hover.ant-table-row-selected > td, |
| | | .ant-table-tbody > tr.ant-table-row-selected td { |
| | | background-color: #262626; |
| | | } |
| | | } |
| | | |
| | | .@{prefix-cls} { |
| | | max-width: 100%; |
| | |
| | | |
| | | .ant-table-body { |
| | | overflow-x: hidden !important; |
| | | overflow-y: scroll !important; |
| | | // overflow-y: scroll !important; |
| | | } |
| | | |
| | | td { |