feat: table header appears repeatedly when paging #541
Co-authored-by: Hufe921 <huangyunfeihufe@hotmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -69,6 +69,7 @@ export interface ITableElement {
|
||||
tableId?: string
|
||||
conceptId?: string
|
||||
pagingId?: string // 用于区分拆分的表格同属一个源表格
|
||||
pagingIndex?: number // 拆分的表格索引
|
||||
}
|
||||
|
||||
export type ITable = ITableAttr & ITableElement
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import { IPadding } from '../Common'
|
||||
|
||||
export interface ITableOption {
|
||||
tdPadding?: IPadding
|
||||
defaultTrMinHeight?: number
|
||||
defaultColMinWidth?: number
|
||||
}
|
||||
@@ -5,4 +5,5 @@ export interface ITr {
|
||||
height: number
|
||||
tdList: ITd[]
|
||||
minHeight?: number
|
||||
pagingRepeat?: boolean // 在各页顶端以标题行的形式重复出现
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user