根据语言读取报表
如果页面有个下拉框,分别是简体中文,繁体中文,英文,我要根据这3个类型,浏览不同的报表应该怎么弄好? 您好,比较简单的方式是,使用HTML5的方式显示。
调用时,可以指定不同的localeUri来实现切换
var viewer = GrapeCity.ActiveReports.Viewer({
element: '#viewerContainer',
reportService: {
url: '/ActiveReports.ReportService.asmx'
},
uiType: 'desktop',
reportLoaded : function () {
reportsButtons.prop('disabled', false);
},
localeUri: 'Scripts/i18n/Localeuri.txt'
});
页:
[1]