- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCode.gs
More file actions
Latest commit
23 lines (18 loc) · 407 Bytes
/
Copy pathCode.gs
File metadata and controls
23 lines (18 loc) · 407 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
eval(createTable.gs);
eval(addRows.gs);
vardoc=SpreadsheetApp.getActiveSpreadsheet();
varsheet=doc.getSheetByName("default");
varschemaDefined=false
functiondoPost(e){
vardata=JSON.parse(e.postData.contents);
vartableName=data.tableName
varaction=data.action
if(action==="createTable")
{
createTable(data)
}
if(action==="addRows")
{
addRows(data)
}
}