表格显示卡顿,表格大批量显示、编辑
1. 默认表格显示字段太多、返回的行数太多页面就会严重卡顿

配置实现
[vue3代码]写在生成的[表.vue]文件中,[vue2代码]写在[表.jsx]文件methods方法中;二选一实现
vue3代码
const onInited= ($vm) => {
//主表表格显示
gridRef.tableV2=true //开启高性能表格,解决大批量显示、编辑卡顿问题
//主从明细表开启
gridRef.detailOptions.tableV2=true;
//一对多明细表开启
gridRef.detailsp[0].tableV2=true;
};
vue2 代码
onInited(){
//主表表格显示
this.tableV2=true //开启高性能表格,解决大批量显示、编辑卡顿问题
//主从明细表开启
this.detailOptions.tableV2=true;
//一对多明细表开启
this.detailsp[0].tableV2=true;
}
