GOOGLE APPS SCRIPT: function doGet(e) { var htmlOutput = HtmlService.createTemplateFromFile('DisplaySheet'); return htmlOutput.evaluate(); } function getSheetData() { var ss= SpreadsheetApp.getActiveSpreadsheet(); var dataSheet = ss.getSheetByName('Data'); var dataRange = dataSheet.getDataRange(); var dataValues = dataRange.getValues(); return dataValues; }
We can use the inbuilt function on the google sheets to achieve this. instead of all these steps . Spreadsheet>file>Publish to Web> Select the sheet> copy the url. That's it.😊
I have a suggestion and I hope you do it. We need and app that works as an API to read and write data to google sheets ( GET POST$ ) it’s better if we can send request to filter data and get response DATA in JSON format. Thank you.
excuse me sir...why i writing source code.i meet a problem. line on system if i want to publish ,script write eror and show alert: cannot read property getSheetName of null i thing i missing something ..
Hello, Any idea how I could display my google sheet on a smart tv that’s in my staffs office? We have lg tv but are looking to upgrade. Would I need some additional plug in? Ty
Hi. I have tried to deploy the example you shared in this video... but I have an issue. In my computer everything works fine. When I share the app script url to others they can't open it. I already played with the permissions allowing anyone even anonymous and some others but nothing seems to work. Any suggestions would be greately appreciated.
Code Used In Video Below:
HTML:
Display Google Sheet Web App
GOOGLE APPS SCRIPT:
function doGet(e) {
var htmlOutput = HtmlService.createTemplateFromFile('DisplaySheet');
return htmlOutput.evaluate();
}
function getSheetData() {
var ss= SpreadsheetApp.getActiveSpreadsheet();
var dataSheet = ss.getSheetByName('Data');
var dataRange = dataSheet.getDataRange();
var dataValues = dataRange.getValues();
return dataValues;
}
Thanks sir... So much informative
I want to publish my each customer database in webapp with ledger sheet.. how can I do this??
Curt -- this looks extremely helpful. It is wonderful folks like you share your knowledge like this. John
We can use the inbuilt function on the google sheets to achieve this. instead of all these steps .
Spreadsheet>file>Publish to Web> Select the sheet> copy the url.
That's it.😊
True. The problem is that you can't add filter, sort or search functionalities to that directly published google spreadsheet.
Yea, but this video is only about displaying table as a webpage.
Those options don't exist in 2022 or am I missing something?
@@wentzel812 these are still exist you can use them just display sheet data.
Extremely helpful, for me as a beginner. Thank you so much.
Do you know why dollar simple on the sheet not display in the webapp table? is there any workaround?
Thanks
How to do action this web app when we insert link to "google site"
Login button can not action ?
If you can have a search option top of the table, this would have made our task much easier :)
Thank you. I got a project to do just like this..
thank you very much. But I have some problem. When I merge cell in google sheet, in HTML don't merge too. please help me about this problem.
Can you please add a search box for this? So that if anyone searches for a string, all the matching records should be displayed.
I have a suggestion and I hope you do it. We need and app that works as an API to read and write data to google sheets ( GET POST$ ) it’s better if we can send request to filter data and get response DATA in JSON format. Thank you.
excuse me sir...why i writing source code.i meet a problem.
line on system if i want to publish ,script write eror and show alert: cannot read property getSheetName of null
i thing i missing something ..
Thanks for this. If one of my columns has html in it, is there any way to get that display in rich text?
Thank, could you do data querying from google sheet file?
Thanks... works perfectly.
Hi how to export displayed Google sheet data to csv file by clicking download button. Can you make one video for that. Thankyou
How do I import a column with date to be displayed as MM-DD-YYYY only?
Hi Sir, Thanks for the video. I want to write specific row from Google sheet to HTML Table row. Is it Possible.? Any help would be appreciated.
Sir, I need automatically update data from Google sheet to Excel.
Bro, is it display url which was available in Google sheet. If it'wont . Please guide me to display with URL.
Hello,
Any idea how I could display my google sheet on a smart tv that’s in my staffs office? We have lg tv but are looking to upgrade. Would I need some additional plug in? Ty
You need a TV that can run a webbrowser on it.Log in to google sheets and display it. I am doing a similar project now.LG TV wit WEB OS can do it.
Hi. I have tried to deploy the example you shared in this video... but I have an issue. In my computer everything works fine. When I share the app script url to others they can't open it. I already played with the permissions allowing anyone even anonymous and some others but nothing seems to work. Any suggestions would be greately appreciated.
Have you got ans? Please share
How do I publish my Google Sheet as-is as a Web App? Basically, the sheets themselves with all the editable functions like a regular spreadsheet ?
Heyy did u find how to do this ?
I facing a problem here, web app display unable to display hyperlink (there is hyperlink from google sheet)
Can advise? Thanks
This works, but it is extremely slow for a table of 11 columns and more than 500 rows...
hi, i get this error: TypeError: Cannot read properties of null (reading 'getDataRange')
Very useful bro. Thankyou
worked, thank you!
Hi, after displaying it, now I want somebody to edit it. How? Please help.
wonderful !
error
Script function not found: doGet
Is this code work in blogger
This application was created by another user.....Can you delete that message?
Hello bro is is the table displayed in the html are realtime?
Doesn't display in realtime. The screen will need to be refreshed to display the latest changes.
thanks a lot
sir muje Code chhaiye