Enable data filters on a range with Google Apps Script

后端 未结 3 415
闹比i
闹比i 2020-12-17 01:35

Is there a way to enable data filters by script in a Google Sheet for a certain range? Currently this can be doen manually, but I do not want to select a range, then click \

3条回答
  •  别那么骄傲
    2020-12-17 02:15

    A short answer would be "No". It seems that GAS supports neither getting, nor setting Filter criteria for columns, at least according to this open issue.

    An alternative solution would be to do the filtering and sorting on GAS side, and push the distinct results into different columns or sheets.

提交回复
热议问题