Тёмный

Tablesorter on Google Web App 

Code With Curt
Подписаться 16 тыс.
Просмотров 5 тыс.
50% 1

In this video, I demonstrate how to use the JQuery Tablesorter on a Google Web App. This is a good way to sort, filter and scroll through table data. Video, Code, and Documentation can be found at codewithcurt.c...
Code in Video is in the comments
Tablesorter Documentation:
mottie.github....

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@zaccoza
@zaccoza 2 месяца назад
Hello, I am grateful for your sharing. Some data entered into the database may contain a url link. When returning the data in the webapp table, I want to return the linked data as clickable and the unlinked data as text. what is your suggestion for this?
@rossmatlashevskiy6304
@rossmatlashevskiy6304 2 года назад
Thank you for this amazing demo Curt, would you be able to show how to add a ChildRow in the table and how to use another sheet to fill that child row.
@jayasri-ft8040
@jayasri-ft8040 2 года назад
Hi, tech Guru, loads of thanks to you. Very useful to us.
@CodeWithCurt
@CodeWithCurt 2 года назад
Google Apps Script Code in Video: function doGet(e) { return HtmlService.createTemplateFromFile('WebAppSorter').evaluate(); } function getRecords() { var ss= SpreadsheetApp.getActiveSpreadsheet(); var recordsSheet = ss.getSheetByName("RECORDS"); var recordsRange = recordsSheet.getDataRange(); var recordsValues = recordsRange.getValues(); return recordsValues; }
@temyraverdana6421
@temyraverdana6421 2 года назад
Thanks a lot, very useful for my study
@animetech3373
@animetech3373 2 года назад
Hi @Code With Curt, could you do also a dialogmodal when cell on table is click and should display some info from the table or prolly from another sheet?
@RosiTerrab
@RosiTerrab Год назад
Thank you! :)
@Mrator2010
@Mrator2010 2 года назад
Hello. A very interesting lesson. But I ran into a problem. If I copy data to the table from other sources, the script does not work. One more point, if there is a date in the table, then the script also does not work.
@CodeWithCurt
@CodeWithCurt 2 года назад
You will need to adjust the html size according to the size of the google sheet table.
@Mrator2010
@Mrator2010 2 года назад
@@CodeWithCurt I figured out the size. If you copy and paste data, the script starts displaying only a white sheet. And if the first column in the data contains the date in this format 24.11.2021, the script also displays a blank sheet
@youtep_le_preux
@youtep_le_preux 2 года назад
with script google you have to use an to integrate into your website, is there a way to integrate directly ?
@muhammedaadhil5645
@muhammedaadhil5645 2 года назад
Thank you very much 😊
@animetech3373
@animetech3373 2 года назад
Hi Curt, How do i change the theme color to Blue? hsl(204,100%,24%,1) Tried to update the theme in Codepen but i dont know how it works to save and apply it here. 😞
@animetech3373
@animetech3373 2 года назад
Basically I want to tweak some styling on the table. Hope you can teach me. Appreciate it Curt. You're awesome as always.
@nirutsoncha6763
@nirutsoncha6763 2 года назад
Thank you.
@omarchtchareto3701
@omarchtchareto3701 2 года назад
At the first I'd like to thank you for this amazing vedio it's very useful but I have a inquiry can we make a username and password before we reached our data in the Web app ?
@muhammedaadhil5645
@muhammedaadhil5645 2 года назад
Thank you
@CodeWithCurt
@CodeWithCurt 2 года назад
HTML Code in Video: $( document ).ready(function() { getData(); }); function getData() { google.script.run.withSuccessHandler(function(ar) { console.log(ar); var displayfooter = ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += "10"; displayfooter += "20"; displayfooter += "30"; displayfooter += "40"; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; displayfooter += ""; var displayheader = ""; var displaybody = ""; ar.forEach(function(item, index) { if(index == 0) { displayheader = ""; displayheader += ""; displayheader += ""+item[0]+""; displayheader += ""+item[1]+""; displayheader += ""+item[2]+""; displayheader += ""+item[3]+""; displayheader += ""; displayheader += ""; } else if(index > 0) { displaybody += ""; displaybody += ""+item[0]+""; displaybody += ""+item[1]+""; displaybody += ""+item[2]+""; displaybody += ""+item[3]+""; displaybody += ""; } }); displaybody += ""; var displayTable = ''; displayTable += ""; displayTable += displayheader; displayTable += displayfooter; displayTable += displaybody; displayTable += ''; document.getElementById("rowdata").innerHTML = displayTable; $("#mainTable").tablesorter({ theme: 'metro-dark', sortList: [[0,0]], widthFixed: true, widgets: ['zebra', 'columns', 'filter'] }) .tablesorterPager({ // target the pager markup - see the HTML block below container: $(".pager"), output: '{startRow} to {endRow} ({totalRows})' }); }).getRecords(); } JQuery Tablesorter
@animetech3373
@animetech3373 2 года назад
Hi Curt, i understand this is a theme metro-dark. But how do i change the color? Say Blue?
Далее
Autocomplete Field on Google Web App
16:21
Просмотров 11 тыс.
Outsmarted 😂
00:20
Просмотров 2,3 млн
Part 5. Roblox trend☠️
00:13
Просмотров 2,9 млн
Inventory Tracker on Google Sheets
39:13
Просмотров 21 тыс.
Web App - Google Sheets CRUD - Part 1 - Load Views
36:48
25 Things You Didn't Know ChatGPT Could Do
41:38
Просмотров 7 тыс.
Google Sheets… Your Next Database?
7:16
Просмотров 400 тыс.
Google Sheets - JSON API, Wep App - e.j1 p.1
23:04
Просмотров 36 тыс.
Google Apps Script Tutorial for Beginners
23:54
Просмотров 382 тыс.
Create Sidebar Bootstrap Form on Google Sheets
13:54
Просмотров 18 тыс.