0.1.7 • Published 4 years ago

seenw-base-table v0.1.7

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

seenw-base-table

安装

import 'seenw-base-table';
import 'seenw-base-table/style.css';

如何使用

在需要替换的Table组件的地方引入组件

  • Table 组件加上 width(必填 number)

注意事项

在使用 ref 的情况下,请使用 react 16.3 之后的方式

  • 类组件使用 React.createRef()

  • Hooks使用 React.useRef()

可以删除的API(也可以留着)

useVirtualfixedHeaderonBodyScroll

Fusion API兼容情况

Table

必填目前支持缺失api有冲突api
widthdataSourcetableLayoutonResizeChange
-onRowClicksize-
-onRowMouseEntertableWidth-
-onRowMouseLeaveonFilter-
-onSorthasBorder-
-primaryKeyhasHeader-
-sort--
-rowProps--
-cellPropsfilterParams-
-isZebraexpandedRowRender-
-emptyContentexpandedRowIndent-
-loadinghasExpandedRowCtrl-
-loadingComponentgetExpandedColProps-
-maxBodyHeightopenRowKeys-
-onDoubleClickonRowOpen-
--fixedHeader-
----
--rowSelection-
--stickyHeader-
--offsetTop-
--affixProps-
--indent-
--isTree-
--useVirtual-
--onBodyScroll-
--expandedIndexSimulate-
--crossline-

Column

必填目前支持不支持
widthtitlehtmlTitle
-dataIndexalignHeader
-cellfilters
-resizablefilterMode
-lockfilterMenuProps
-sortablecolSpan
-align
0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago