1
0
mirror of synced 2025-12-16 11:18:12 +08:00

优化固定列

This commit is contained in:
xuliangzhan
2023-07-10 00:06:18 +08:00
parent 519e159faa
commit 1b7241caac
26 changed files with 447 additions and 178 deletions

View File

@@ -50,6 +50,9 @@ const GlobalConfig: VXETableGlobalConfig = {
showMessage: true,
message: 'default'
},
columnConfig: {
maxFixedSize: 4
},
// menuConfig: {
// visibleMethod () {}
// },
@@ -196,6 +199,10 @@ const GlobalConfig: VXETableGlobalConfig = {
TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + 'fullscreen',
TOOLBAR_TOOLS_MINIMIZE: iconPrefix + 'minimize',
TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'custom-column',
TOOLBAR_TOOLS_FIXED_LEFT: iconPrefix + 'fixed-left',
TOOLBAR_TOOLS_FIXED_LEFT_ACTIVED: iconPrefix + 'fixed-left-fill',
TOOLBAR_TOOLS_FIXED_RIGHT: iconPrefix + 'fixed-right',
TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVED: iconPrefix + 'fixed-right-fill',
// form
FORM_PREFIX: iconPrefix + 'question-circle-fill',
@@ -304,9 +311,10 @@ const GlobalConfig: VXETableGlobalConfig = {
// export: {
// types: ['csv', 'html', 'xml', 'txt']
// },
// custom: {
// isFooter: true
// },
custom: {
allowFixed: true,
showFooter: true
}
// buttons: []
},
button: {