页面表格
页面表格参数与卡片表格大致一样,但页面表格为常用组件,更适合于独立页面使用。
引入组件
基础示例
定义 resporce
资源名与 columns
列配置即可调用表格数据。
组件参数
titlestring
undefined
tabsArray<CardTableTab>
undefined
tableEnhancedTableProps
undefined
Read more in Table Docs
columnsPrimaryTableCol[]
undefined
headerRender(params: PageTableRenderProps) => React.ReactNode
undefined
footerRender(params: PageTableRenderProps) => React.ReactNode
undefined
siderRender(params: PageTableRenderProps) => React.ReactNode
undefined
actionRender(params: PageTableRenderProps) => React.ReactNode
undefined
filterRender(params: PageTableRenderProps) => React.ReactNode
undefined
filterAdvRender(params: PageTableRenderProps) => React.ReactNode
undefined
filterRender
一致。 onData(data?: Record<string, any>[]) => void
undefined
batchRender() => React.ReactNode
undefined
tableHookuseTableProps<BaseRecord, HttpError, BaseRecord>
undefined