全局自适应样式调整,换行自适应行高
This commit is contained in:
1 parent
75a6209010
commit
241a6c4003
11 files changed
+329
-77
No files matched your search
@@ -62,7 +62,11 @@ export const gridOptions: GridOptions = {
|
||||
sortable: false,
|
||||
filter: false,
|
||||
wrapHeaderText: true,
|
||||
autoHeaderHeight: true
|
||||
autoHeaderHeight: true,
|
||||
// 默认把数值型单元格右对齐,减少每个列重复配置。
|
||||
cellClassRules: {
|
||||
'ag-right-aligned-cell': params => typeof params.value === 'number' && Number.isFinite(params.value)
|
||||
}
|
||||
},
|
||||
defaultColGroupDef: {
|
||||
wrapHeaderText: true,
|
||||
|
||||
Reference in new issue
Block a user