@univerjs/sheets-ui v0.5.4


Interface: IScrollCommandParams

Defined in: submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:32

Properties

PropertyTypeDescriptionDefined in
offsetX?number-submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:33
offsetY?number-submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:34
sheetViewStartColumn?numberNot the index of col in spreadsheet, but index of first column in current viewport. e.g. if col start C at current viewport after freeze, and scroll value is zero, startColumn is 0. e.g. if scrolled about 2 columns, now left is E, then sheetViewStartColumn is 2.submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:47
sheetViewStartRow?numberThe index of row in spreadsheet. e.g. if row start 10 at current viewport after freeze, and scroll value is zero, startRow is 0. e.g. if scrolled about 2 rows, now top is 12, then sheetViewStartRow is 2.submodules/univer/packages/sheets-ui/src/commands/commands/set-scroll.command.ts:40