border :auto-resize="true" :sync-resize='true' ref="xTree" row-id="id" :loading="loading" :data="tableData" :max-height="maxHeight" :tree-config="{ transform: false, rowField: 'id', parentField: 'data', children:'children', iconOpen: 'vxe-icon-square-minus-fill', iconClose: '...
17 + 18 + 19 + 20 + 21 + </template> 22 + </vxe-grid> 23 + 24 + </template> 25 + 26 + 27 + import { ref, reactive } from 'vue' 28 + import { VxeGridInstance, VxeGridProps } from 'vxe-table' 29 + 30 + interface RowVO { 31 + id: ...
</template> </vxe-column> <vxe-column field="name" title="Name" width="160"></vxe-column> <vxe-column field="sex" title="Sex"></vxe-column> <vxe-column field="num" title="Number"></vxe-column> <vxe-column field="age" title="Age"></vxe-column> <vxe-column field="add...
iconOpen: 'fa fa-minus-square-o', iconClose: 'fa fa-plus-square-o'}"> <vxe-column type="checkbox" tree-node> <template #default="{ row }"> <template v-if="row.children && row.children.length"> </template> <template v-else> </template> {{ row.name }} </template> </...
iconOpen: 'vxe-icon-square-minus-fill', iconClose: 'vxe-icon-square-plus-fill' }" :scroll-y="{enabled: true,gt: 20} " :row-config="{height: 40}"> 数据结构如下 tableData: [{ id: 18959, name: "名称", data: { code: "1" ...
true, line: true, iconOpen: 'fa fa-minus-square-o', iconClose: 'fa fa-plus-square-o'}"...
42 + :tree-config="{transform: true, accordion: true, line: true, iconOpen: 'vxe-icon-square-minus', iconClose: 'vxe-icon-square-plus'}"> 43 43 <vxe-column type="checkbox" tree-node></vxe-column> 44 44 </vxe-table> 45 45 @@ -62,7 +62,7 @@ 62 62 :data="demo3....
🐬 vxe-table vue 表格解决方案. Contribute to miro-jian/vxe-table development by creating an account on GitHub.
:tree-config="{children: 'children', line: true, iconOpen: 'fa fa-hand-o-down', iconClose: 'fa fa-hand-o-right'}" :tree-config="{children: 'children', line: true, iconOpen: 'fa fa-minus-square-o', iconClose: 'fa fa-plus-square-o'}" :data="tableData"> <vxe-table-column...
prefixClass: 'vxe-icon-', iconList: ['add', 'arrow-double-left', 'arrow-double-right', 'arrow-down', 'arrow-left', 'arrow-right', 'arrow-up', 'bell', 'bell-fill', 'calendar', 'caret-down', 'caret-left', 'caret-right', 'caret-up', 'chart-bar-x', 'chart-bar-y', 'ch...