feat: table header appears repeatedly when paging #541
Co-authored-by: Hufe921 <huangyunfeihufe@hotmail.com>
This commit is contained in:
+11
-3
@@ -43,10 +43,8 @@ interface IEditorOption {
|
||||
marginIndicatorColor?: string // The margin indicator color. default: #BABABA
|
||||
margins?: IMargin // Page margins. default: [100, 120, 100, 120]
|
||||
pageMode?: PageMode // Paper mode: Linkage, Pagination. default: Pagination
|
||||
tdPadding?: IPadding // Cell padding. default: [0, 5, 5, 5]
|
||||
defaultTrMinHeight?: number // Default table row minimum height. default: 42
|
||||
defaultColMinWidth?: number // Default minimum width for table columns (applied if the overall width is sufficient, otherwise scaled down). default: 40
|
||||
defaultHyperlinkColor?: string // Default hyperlink color. default: #0000FF
|
||||
table?: ITableOption // table configuration {tdPadding?:IPadding; defaultTrMinHeight?:number; defaultColMinWidth?:number}
|
||||
header?: IHeader // Header information.{top?:number; maxHeightRadio?:MaxHeightRatio;}
|
||||
footer?: IFooter // Footer information. {bottom?:number; maxHeightRadio?:MaxHeightRatio;}
|
||||
pageNumber?: IPageNumber // Page number information. {bottom:number; size:number; font:string; color:string; rowFlex:RowFlex; format:string; numberType:NumberType;}
|
||||
@@ -75,6 +73,16 @@ interface IEditorOption {
|
||||
}
|
||||
```
|
||||
|
||||
## Table Configuration
|
||||
|
||||
```typescript
|
||||
interface ITableOption {
|
||||
tdPadding?: IPadding // Cell padding. default: [0, 5, 5, 5]
|
||||
defaultTrMinHeight?: number // Default table row minimum height. default: 42
|
||||
defaultColMinWidth?: number // Default minimum width for table columns (applied if the overall width is sufficient, otherwise
|
||||
}
|
||||
```
|
||||
|
||||
## Header Configuration
|
||||
|
||||
```typescript
|
||||
|
||||
@@ -56,6 +56,7 @@ interface IElement {
|
||||
}[];
|
||||
trList?: {
|
||||
height: number;
|
||||
pagingRepeat?: boolean;
|
||||
tdList: {
|
||||
colspan: number;
|
||||
rowspan: number;
|
||||
|
||||
Reference in New Issue
Block a user