I want to remove the filtration from the spreadsheet using a script and after i remove filtered rows the sheet display all row in sheet
I want to do that when I open the spreardsheet.
function ShowColumns() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var maxRows = sheet.getMaxRows();
var maxCol = sheet.getMaxColumns();
sheet.showRows(1, maxRows);
sheet.showColumns(1,maxCol)
}
I searched for it intensively, but did't find anything.