lhl 6ff0e96ad3 8-4-1 | 1 yıl önce | |
---|---|---|
.. | ||
helper | 1 yıl önce | |
lib | 1 yıl önce | |
packages | 1 yıl önce | |
styles | 1 yıl önce | |
types | 1 yıl önce | |
LICENSE | 1 yıl önce | |
README.en.md | 1 yıl önce | |
README.md | 1 yıl önce | |
README.zh-TW.md | 1 yıl önce | |
package.json | 1 yıl önce |
A vue based PC form component, support add, delete, change, virtual scroll, lazy load, shortcut menu, data validation, tree structure, print export, form rendering, data paging, virtual list, modal window, custom template, renderer, flexible configuration items, extension interface, etc...
11+ ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 8+ ✔ |
Version:vue 2.6.x, Dependent: xe-utils
npm install xe-utils vxe-table
import Vue from 'vue'
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
Vue.use(VXETable)
<!-- Style -->
<link rel="stylesheet" href="https://unpkg.com/vxe-table/lib/style.css">
<!-- Script -->
<script src="https://unpkg.com/xe-utils"></script>
<script src="https://unpkg.com/vxe-table"></script>
<!-- It is recommended that users introduced by CDN lock the version on the link address to avoid the impact of incompatible updates -->
<template>
<div>
<vxe-table :data="tableData">
<vxe-table-column type="seq" title="Seq" width="60"></vxe-table-column>
<vxe-table-column field="name" title="Name"></vxe-table-column>
<vxe-table-column field="sex" title="Sex"></vxe-table-column>
<vxe-table-column field="address" title="Address"></vxe-table-column>
</vxe-table>
</div>
</template>
<script>
export default {
data () {
return {
tableData: [
{ id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
{ id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
{ id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
]
}
}
}
</script>
💡 User guide
👉 View example
👉 View API
If the open source software is helpful to you, you can scan the QR code below to support us.☕
MIT © 2019-present, Xu Liangzhan