:row-class-name="rowClassName" :cell-class-name="cellClassName" :data="tableData"> <vxe-column type="seq" width="60"></vxe-column> <vxe-column field="name" title="Name"></vxe-column> <vxe-column field="sex" title="Sex"></vxe-column> ...
<vxe-table-columntype="seq" title="序号" width="60"></vxe-table-column> </vxe-table> 自定义方法 :seq-config="{seqMethod: seqMethod}" 1 2 3 <vxe-table:seq-config="{seqMethod: seqMethod}" :data="tableData"> <vxe-table-columntype="seq" title="序号" width="60"></vxe-table-c...
<vxe-table :align="allAlign" :data="tableData"></vxe-table> 1. 设置 属性 align “left”“center”“right” 3、序号 、列宽 、表格高度 序号 系统设置序号 type=seq 开启序号列 <vxe-table :data="tableData" type=seq> <vxe-table-column type="seq" width="60"></vxe-table-column> </vxe...
<vxe-tableborder:row-class-name="rowClassName":data="tableData"><vxe-table-columntype="seq"width="60"></vxe-table-column><vxe-table-columnfield="name"title="Name"></vxe-table-column><vxe-table-columnfield="sex"title="Sex"></vxe-table-column><vxe-table-columnfield="age"title="Age"...
--><vxe-table:class="{ isNoBorder: !border }":border="border":data="tableData":max-height="height":show-header="showHeader":loading="loading"cell-class-name="cellStyle"@checkbox-all="selectAllChangeEvent"@checkbox-change="onSelectChange"header-row-class-name="headerStyle":span-method="...
highlight-hover-row ref="xTable" height="300" :sort-config="{iconLayout: 'horizontal', iconAsc: 'vxe-icon-sort-asc', iconDesc: 'vxe-icon-sort-desc'}" :data="tableData"> <vxe-column type="seq" width="60"></vxe-column> <vxe-column field="name" title="Name" sortable></vxe-co...
class:['vxe-cell--checkbox',{ 'is--checked':isChecked, 'is--disabled':isDisabled, 'is--indeterminate':indeterminateField&&!isChecked?row[indeterminateField]:isIndeterminate 'is--indeterminate':indeterminateField&&!isChecked?row[indeterminateField]:isIndeterminate, ...
第一,写下table模板 <vxe-table border show-overflow show-header-overflow ref="tableRef"height="600":row-config="{isCurrent: true, isHover: true, useKey: true}":column-config="{resizable: true}":export-config="{}":loading="demo1.loading":sort-config="{trigger: 'cell'}":scroll-y="{...
<vxe-gridclass="reverse-table"ref="htcForm01"v-bind="htc01Options"></vxe-grid> 数据类型里定义好htc01Options htc01Options: { border: true, showOverflow: false, height:900, showHeader: true, columns: [], data: [] } 构造函数reverseTable(columns,list) ...
<a href="https://github.com/x-extends/vxe-table">{{ row.name }}</a> ...