How to run a add-on function from a button on a sheet?

こ雲淡風輕ζ 提交于 2019-12-08 05:59:43

问题


I made an addon (link, in the description - the full code) that works like this. The spreadsheet editor fills the cells and selects the item to which the addon script is assigned in the user menu. The script inserts the current date on the sheet, collects the cell values, sends them to the owner, and removes the editor’s access to the spreadsheet.

Everything works great on the desktop, but does not work on mobiles. Now more than 50% of users visit the Internet from mobile devices. Mobile users cannot access menus, sidebars and buttons in the Google Sheets application. In addition, the mobile application must be additionally downloaded and installed. It is not comfortable. In the mobile browser (for example, Chrome) they are available, but only if you select "Full version" in the settings. In addition, in Chrome, the menu items are very small, you have to swiping to increase them. This is all uncomfortable.

It would be great if you could launch the addon from the button. The button can be made large. Then on mobile devices, using the spreadsheet directly in the browser will be more convenient.

Are there any ways that can solve this problem? I would be grateful for the ideas.

来源:https://stackoverflow.com/questions/52617769/how-to-run-a-add-on-function-from-a-button-on-a-sheet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!