Created
August 26, 2020 03:47
-
-
Save arijitMondal/21bef05801cd244676021b846dfe8949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createHeaders() { | |
//Freezes the first row | |
sheet.setFrozenRows(1); | |
// Set the values we want for headers | |
var values = [["Timestamp", "Device","Performance Score","LAB FCP", "LAB LCP", "LAB CLS", "LAB Interactive", "LAB Total Blocking Time", "LAB Speed Index"]]; | |
// Set the range of cells | |
var range = sheet.getRange(1, 1, 1, 9); | |
//Call the setValues method on range and pass in our values | |
range.setValues(values); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment