Comments (1)
console.log(this.unit.getUnitId());
console.log(this.unit.getActiveSheet().getSheetId());
console.log(this.unit.getActiveSheet());
console.log(this.unit);
// const subUnitId = this.univerAPI.getActiveWorkbook().getId()
setTimeout(() => {
this.univerAPI.executeCommand('sheet.operation.set-scroll', {
"unitId": this.unit.getUnitId(),
"sheetId": this.unit.getActiveSheet().getSheetId(),
"sheetViewStartRow": 0,
"sheetViewStartColumn": 1,
"offsetX": 23,
"offsetY": 0
});
}, 3000);
The code is used for me
from univer.
Related Issues (20)
- [Bug] Using the API to add columns, assigning values ββto the newly added columns does not take effect. HOT 3
- [Bug] When multiple people collaborate, using backspace to delete multiple rows of data will cause errors when the operation is synchronized to other users. HOT 2
- [Bug] error during build: "InsertCommand" is not exported by "node_modules/@univerjs/docs/lib/es/index.js" HOT 3
- [Feature] HOT 1
- [Bug] sheet.insertRows/insertRowsAfter is not a function HOT 6
- [Feature] Add support for configuring new buttons at the bottom of the screen HOT 1
- [Bug] Scrollbar Jumps on Drag Start HOT 4
- [Bug] after reinitializing with univerAPI.disposeUnit missing column header and has `permissionPoint does not exist` error HOT 4
- [Bug] createUniverSheet(snapshot) did not perform as expected
- [Bug] Print preview and actual printing issues HOT 5
- [Bug] conditional formtting dataBar position has offset
- [Bug] When insertRows api is called immediately after createUnit api, the position of the merged cells in the data is abnormal HOT 1
- [Bug] in the isolatedModules, `BooleanNumber` build error
- [Bug] Cell editor position display problem HOT 6
- [Bug] with vue3 error, could not resolve react HOT 1
- [Feature] multi-grid sheets HOT 1
- [Bug] The export api will report an error when exporting large files. HOT 2
- [Bug] App freezes due to high frequency changes HOT 3
- [Bug] The last percentage in univer conditional format is different from the one calculated in Excel HOT 1
- [Feature] I want to remove all the default formulas and add my own formulas. How do I clear them? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from univer.