u/jt_ftc_8942

Hiding Row

Hello all,

I have a function called onEdit(e), and it works perfectly except for when I attempt to hide a row. The code is below:

function onEdit(e){
  let sheet  = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  // event variables
  let range = e.range;
  let row = e.range.getRow();
  let col = e.range.getColumn();
  let cellValue = sheet.getActiveCell().getValue();

  let status = sheet.getRange(row,5).getDisplayValue();

  if ( col == 5 && cellValue != 'Problem' && cellValue != 'Not Started') {
    MailApp.sendEmail(email info, this part works);

    if (status == 'Completed') {
      Utilities.sleep(7000);
      sheet.hideRows(row);
    };


  };
}

This is not working, regardless of whether I include the Utilities.sleep command, use sheet.hideRows or sheet.hideRow, or put the command inside or outside the nested if statement.

Any guidance?

reddit.com
u/jt_ftc_8942 — 7 days ago
▲ 2 r/WIX

Countdown Clock Widget no longer supported

Hey all,

I had a widget on my site from the "Countdown Clock" app by Wix (https://www.wix.com/app-market/countdown-01). Now, on my published site, the area where the widget was appears blank and in the editor when I go to widget settings I get a "This widget is no longer supported." message. Anybody having similar issues? Any recommendations on good free alternatives?

reddit.com
u/jt_ftc_8942 — 15 days ago