el-table-render
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

el-table-render

  • 帮助你在el-table里面以配置化的写法,并支持render函数,你可以写jsx或render function

  • 后续功能优化中

  • 食用方法

   <ElTableRender :columns="tableColumns" :data="tableData" height="300" />
const tableColumns = [
  {
              prop: 'name',
              label: 名称,
              width: '200px',
              render:(h,{row})=>(
               <div>{row.name}</div>
              ),
              headerRender: (h,props) => (
              <div>customTitle</div>
            )
            }
]

Readme

Keywords

Package Sidebar

Install

npm i el-table-render

Weekly Downloads

1

Version

1.0.14

License

MIT

Unpacked Size

4.19 kB

Total Files

5

Last publish

Collaborators

  • ganxiaoxing