1
我是AngularJS和IgniteUI的新手。到目前爲止,我找不到任何將Infragistics IgniteUI與AngularJS集成的好例子。我找到的樣本不起作用。如何將IgniteUI igGrid(Infragistics)與AngularJS集成並導出到Excel
基於我已經將以下文件
樣品<script src="~/Scripts/jquery-2.0.0.min.js"></script>
<script src="~/Scripts/jquery-ui-1.12.0.js"></script>
<script src="~/Scripts/angular.min.js"></script>
<script src="~/Scripts/Infragistics/js/infragistics.core.js"></script>
<script src="~/Scripts/Infragistics/js/infragistics.lob.js"></script>
<script src="~/Scripts/Infragistics/js/extensions/igniteui-angular.js"></script>
<script src="~/App/igniteUIApp.js"></script>
<div ng-app="igniteUIApp" ng-controller="SampleController">
<ig-grid id="grid1"
data-source="employees"
primary-key="EmployeeID"
auto-generate-columns="true">
</ig-grid>
</div>
我想看看下面的
步驟1 如何使用$ scope.datasource填充igGrid?
步驟2 如何將igGrid數據導出到Excel?
嗨,我沒有看到網格中的任何數據。我假設代碼應該填充網格,並通過單擊EXPORT按鈕,它應該創建一個Excel文件。目前,它沒有做任何事情。你能檢查一下代碼有什麼問題嗎? – Alomoni