mirror of
https://github.com/VisActor/VTable
synced 2024-11-23 03:45:41 +00:00
27 lines
671 B
Markdown
27 lines
671 B
Markdown
|
{{ target: ICellHeaderPaths }}
|
|||
|
ICellHeaderPaths类型定义为:
|
|||
|
```
|
|||
|
export type ICellHeaderPaths = IListTableCellHeaderPaths | IPivotTableCellHeaderPaths;
|
|||
|
export type IListTableCellHeaderPaths = {
|
|||
|
readonly colHeaderPaths?: {
|
|||
|
field: FieldDef;
|
|||
|
}[];
|
|||
|
readonly rowHeaderPaths?: {
|
|||
|
field: FieldDef;
|
|||
|
}[];
|
|||
|
};
|
|||
|
export type IPivotTableCellHeaderPaths = {
|
|||
|
/** 列表头各级path表头信息 */
|
|||
|
readonly colHeaderPaths?: {
|
|||
|
dimensionKey?: string;
|
|||
|
indicatorKey?: string;
|
|||
|
value?: string;
|
|||
|
}[];
|
|||
|
/** 行表头各级path表头信息 */
|
|||
|
readonly rowHeaderPaths?: {
|
|||
|
dimensionKey?: string;
|
|||
|
indicatorKey?: string;
|
|||
|
value?: string;
|
|||
|
}[];
|
|||
|
};
|
|||
|
```
|