如何將Pivot Table & Charts Flash/Flex版遷移到HTML5/JS版
原創(chuàng)|使用教程|編輯:龔雪|2014-02-11 11:40:45.000|閱讀
540 次
概述:從Flexmonster Pivot Table & Charts Flash/Flex版遷移到HTML5/JS版,只需完成如下幾步操作即可。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
- 下載相應(yīng)的HTML5/JS產(chǎn)品,并解壓文件。免費下載Flexmonster Pivot Table & Charts HTML5/JS>>
- 從安裝文件夾中復(fù)制“component/html5/html5-assets/ ”文件夾。
- 使用新的“component/html5/flexmonster.js”文件替換“flexmonster.js”。
- 在“flexmonster.embedPivotComponent()”函數(shù)中添加“html5”屬性。例如:
flexmonster.embedPivotComponent("flexmonster/", "pivotContainer", "100%", "535", {...}, "html5");
- 故障排除。當(dāng)遷移到HTML5版本后如果你看到錯誤:There is no DOM element with id '{containerId}',如下方法可以解決這個問題:
1)
檢查是否存在相同ID的HTML元素;
2)嘗試移動“flexmonster.embedPivotComponent()”函數(shù)下面相應(yīng)ID的元素;
3)嘗試在“body.onLoad”事件后調(diào)用“flexmonster.embedPivotComponent()”函數(shù)。
標(biāo)簽:
JavaScript HTML5BI數(shù)據(jù)透視表
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:慧都控件網(wǎng)