本帖最后由 新手阿星 于 2024-11-4 17:08 编辑
电子表格移动端怎么修改筛选项的样式?
function main(spreadsheetReport, isAjaxRefreshCallback) {
console.log(spreadsheetReport, isAjaxRefreshCallback);
// //点击弹出参数
spreadsheetReport.paramClick = setInterval(function() {
for (var i in window.frames) {
if (window.frames.name = 'spreadsheetReportIFrame') {
var abc = window.frames.parent.parent.document.getElementsByClassName("__ReportExploreToolbar_Filter filter-btn rebtn");
if (abc.length) {
var c3 = spreadsheetReport.getCell("E4");
c3.addEventListener("click", function() {
abc[0].firstChild.click();
});
clearInterval(spreadsheetReport.paramClick);
break;
}
}
}
}, 100);
}
select case when '1' = '1' then '选中1'
when '1' = '2' then '选中2'
when '1' = '3' then '选中3'
else '选中4' end as aa
|