feat: table header appears repeatedly when paging #541

Co-authored-by: Hufe921 <huangyunfeihufe@hotmail.com>
This commit is contained in:
zp190265950
2024-05-09 21:15:52 +08:00
committed by GitHub
co-authored by Hufe921
parent 62c94fce59
commit c86e5468e6
15 changed files with 98 additions and 32 deletions
+2 -4
View File
@@ -8,7 +8,6 @@ import {
import { IBackgroundOption } from './Background'
import { ICheckboxOption } from './Checkbox'
import { IRadioOption } from './Radio'
import { IPadding } from './Common'
import { IControlOption } from './Control'
import { ICursorOption } from './Cursor'
import { IFooter } from './Footer'
@@ -23,6 +22,7 @@ import { ITitleOption } from './Title'
import { IWatermark } from './Watermark'
import { IZoneOption } from './Zone'
import { ISeparatorOption } from './Separator'
import { ITableOption } from './table/Table'
export interface IEditorData {
header?: IElement[]
@@ -60,9 +60,6 @@ export interface IEditorOption {
marginIndicatorColor?: string
margins?: IMargin
pageMode?: PageMode
tdPadding?: IPadding
defaultTrMinHeight?: number
defaultColMinWidth?: number
defaultHyperlinkColor?: string
paperDirection?: PaperDirection
inactiveAlpha?: number
@@ -73,6 +70,7 @@ export interface IEditorOption {
contextMenuDisableKeys?: string[]
scrollContainerSelector?: string
wordBreak?: WordBreak
table?: ITableOption
header?: IHeader
footer?: IFooter
pageNumber?: IPageNumber
+1
View File
@@ -69,6 +69,7 @@ export interface ITableElement {
tableId?: string
conceptId?: string
pagingId?: string // 用于区分拆分的表格同属一个源表格
pagingIndex?: number // 拆分的表格索引
}
export type ITable = ITableAttr & ITableElement
+7
View File
@@ -0,0 +1,7 @@
import { IPadding } from '../Common'
export interface ITableOption {
tdPadding?: IPadding
defaultTrMinHeight?: number
defaultColMinWidth?: number
}
+1
View File
@@ -5,4 +5,5 @@ export interface ITr {
height: number
tdList: ITd[]
minHeight?: number
pagingRepeat?: boolean // 在各页顶端以标题行的形式重复出现
}