Merge pull request #2725 from VisActor/fix/type_define_columnWidthConfig

Fix/type define column width config
This commit is contained in:
方帅 2024-11-01 11:21:46 +08:00 committed by GitHub
commit 1ecd56bdd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "fix: type define columnWidthConfig\n\n",
"type": "none",
"packageName": "@visactor/vtable"
}
],
"packageName": "@visactor/vtable",
"email": "892739385@qq.com"
}

View File

@ -332,7 +332,7 @@ export interface PivotTableConstructorOptions extends BaseTableConstructorOption
dimensions: IDimensionInfo[];
order: SortOrder;
}[];
columnWidthConfig: {
columnWidthConfig?: {
dimensions: IDimensionInfo[];
width: number;
}[];