私のレポートを表示するにはDIVを使用したいので、icCubeのドキュメントicCube Web Reporting : Displaying a Reportを参照してください。しかし、私はそれを適用しようとすると、どのように同じHTMLページに収集するスクリプトのdifferents関数を置くことができますか、私は私が収集するために、これらの部品を入れてことができる方法inderstandません同じHTMLページにスクリプトのdifferents関数を組み込むにはどうすればいいですか?
最初のパート
var ic3reporting = new ic3.Reporting({
noticesLevel: ic3.NoticeLevel.ERROR,
dsSettings: {
userName: "demo",
userPassword: "demo",
url: "http://localhost:8282/icCube/gvi"
}
});
ic3reporting.setupGVIConfiguration(function() {
ic3reporting.setupApplication({
mode: ic3.MainReportMode.REPORTING,
menu: ic3.MainReportMenuMode.OFF,
noticesLevel: ic3.NoticeLevel.ERROR,
container: $("#report-container")
});
});
セカンドパート
var options = {
report: { name: 'My Report' },
mode: ic3.MainReportMode.EDITING_REPORTING,
menu: ic3.MainReportMenuMode.ON,
noticesLevel: ic3.NoticeLevel.INFO
};
ic3reporting.openReport(options, function() {
// your callback (I don't inderstand how can i putting this code)
});
:それらが機能しています10このスクリプトを作成することは非常に重要です。これにより、以前よりもレポートのエクスポートが容易になります。
では、あなたの代わりにマイレポート」の報告書の正しい名前を設定しています"=>' var options = {report:{name: 'My Report'}}; '? 'alert(" Report opened successfully ")'行と必要なコールバックを入れ替えてください。 –
私は他の必要がある、私はこの図をExcelにエクスポートしたいこのdivを使用して私はすでに働いている、これは私の最終目標はエクセルまたは画像にエクスポートすることですが、その解決策を見つける –
レポートについて話している場合は、pdfにエクスポートしてExcelファイルに含めることができます。一方、いくつかのチャートウィジェットを意味するならば、独自のイメージエクスポート機能を使用してください。 質問を明記してください。 –