I want to add this function to a button so when the user hits refresh it will refresh the data connected with script will refresh automatically.
Note: I'm not using BigQuery so default refresh option will not appear in google sheets.
I want something like below
function reloadData(){
}
I will associate this function to a button or something in google sheet.
Thank you all in advance.
I think you should try "flush()".
https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet-app#flush
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.