Google Apps脚本中的仪表板在IE中无法正确呈现? [英] Dashboards in Google Apps Script not rendering correctly in IE?

查看:86
本文介绍了Google Apps脚本中的仪表板在IE中无法正确呈现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Apps Script中的Dashboards存在一个已知问题,在IE中无法正确呈现?我已将仪表板应用程序脚本嵌入到谷歌网站的页面中。它在Chrome和Firefox中正确呈现,但在IE中,图表和过滤器/选择器看起来不正确。

我们使用Chrome和IE8(我认为它永久在怪癖模式)在工作,所以我有这条线,使IE8呈现更好:

  var app = UiApp.createApplication(); 
//如果浏览器是IE8,则返回true,否则返回false
app.setStandardsMode((UiApp.getUserAgent()。indexOf(MSIE 8.0)> -1));

尝试不同浏览器中的标准模式,并根据需要将其设置为true。


is there a known issue with Dashboards in Google Apps Script not rendering correctly in IE? I have embedded the Dashboard App Script on a page in google sites. It renders correctly in Chrome and Firefox, but in IE the charts and filters / selectors do not look correct.

解决方案

We use Chrome and IE8 (and I think it's permanently in quirks mode) at work, so I have this line to make IE8 render better:

var app = UiApp.createApplication();
//Will be true if the browser is IE8, false otherwise
app.setStandardsMode((UiApp.getUserAgent().indexOf("MSIE 8.0") > -1));

Try standards mode in different browsers, and set it to true as necessary.

这篇关于Google Apps脚本中的仪表板在IE中无法正确呈现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆