var viewer = GrapeCity.ActiveReports.Viewer({
element: '#viewerContainer',
reportService: {
url: '/ActiveReports.ReportService.asmx'
},
uiType: 'desktop',
localeUri: '/Scripts/i18n/Localeuri.txt',
availableExports: ['Pdf', 'Xls']
});
如上所示,给他添加的导出PDF和XLS两种格式的按钮,但是运行后点击下拉箭头什么也不展示,但是上下页的按钮完全没问题,对应的css样式文件
<link href="~/Content/bootstrap.css" rel="stylesheet" />
<link href="~/Content/GrapeCity.ActiveReports.Viewer.Html.css" rel="stylesheet" />
<link href="~/Content/wdiGrapeCityThemes.css" rel="stylesheet" />
js文件也是引用的对应版的js,我哪里没有考虑到吗?
|