-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get cell value outside of command scope #154
Comments
@askonev Please take a look |
It is possible to get selected value if specify "initOnSelectionChanged": true and "initDataType": "text" or "initDataType": "html" in config.json. |
Hello @vese. This is exactly how the implementation of data access from the editor to the plugin was conceived. I think you have already familiarized yourself with the implementation of the Thesaurus plugin in which this configuration is used. But direct access to the cell address is not implemented, but you can add it to the cell using Api methods and then take the data into the plugin. |
Hello @askonev. Is it possible to add parameters to callbacks from callCommand ONLYOFFICE/sdkjs#1964 ? |
Hi! I need to parse value from cell and display it in plugin's window.
How can I do this?
If use onCommandCallback I also can't get the value
}
If use executeMethod I get returnValue in onMethodReturn for some methods, e. g. GetFontList
But I can't get cell value. ('GetActiveSheet', 'GetActiveCell')
Is there any method to get cell value?
The text was updated successfully, but these errors were encountered: