1 | import { VXETableComponent } from './component'
|
2 | import { ColumnInfo } from './column'
|
3 | import { TableRenderParams } from './v-x-e-table'
|
4 |
|
5 | /**
|
6 | * 表头
|
7 | */
|
8 | export declare class Header extends VXETableComponent {}
|
9 |
|
10 | export interface ColumnHeaderSlotParams extends ColumnHeaderRenderParams {}
|
11 |
|
12 | /**
|
13 | * 表头渲染参数
|
14 | */
|
15 | export interface ColumnHeaderRenderParams extends TableRenderParams {
|
16 | /**
|
17 | * 列对象
|
18 | */
|
19 | column: ColumnInfo;
|
20 | /**
|
21 | * 相对于 columns 中的索引
|
22 | */
|
23 | columnIndex: number;
|
24 | /**
|
25 | * 相对于可视区渲染中的列索引
|
26 | */
|
27 | $columnIndex: number;
|
28 | /**
|
29 | * 相对于表头行数据的索引
|
30 | */
|
31 | $rowIndex: number;
|
32 | }
|