1.0.3 • Published 6 years ago
wox-admin-table v1.0.3
Table
API
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
官方 API | 支持所有官方 API | ||
rowColorDifferent | 是否设置单双行背景颜色区分。备注:如果设置了 rowClassName ,rowColorDifferent 将会失效 | boolean | false |
Usage
import WoxTable from 'wox-admin-table';
render(
<WoxTable
columns={columns}
dataSource={data}
onChange={handleChange}
pagination={pagination}
{/* 增强 API */}
rowColorDifferent={true}
/>,
rootEle
);