111 #2948
111
#2948
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const rawOptions = {
adaptive: true,
hd: true,
showDefaultHeaderActionIcon: false,
freezeRowHeader: false,
tooltip: {
enable: false,
},
interaction: {
hoverFocus: false,
enableCopy: false,
resize: {
//禁止行拖拽
rowCellVertical: false,
cornerCellHorizontal: true,
colCellHorizontal: true,
colCellVertical: false,
},
},
style: {
rowCell: {
height: 38,
},
},
};
// 父容器大小自适应
const adaptive = {
width: true,
height: true,
getContainer: () => document.getElementById(tableClassName),
};
// 主题设置
const themeConfig = {
name: 'gray',
};
const theme = {
name: 'gray',
dataCell: {
cell: {
interactionState: {
hoverFocus: {
borderColor: 'blue', // 鼠标移入时的边框颜色
borderOpacity: 1, // 边框不透明
},
},
},
},
};
Beta Was this translation helpful? Give feedback.
All reactions