angular2 会有 kendo 电子表格吗?
will angular2 have the kendo spreadsheet?
angular2 在任何即将发布的版本中是否会有 Kendo 电子表格或导出到 excel 的网格。?我们希望在 angular2 中使用电子表格版本,因为我们使用的是 angular1 版本并且想要升级。请问这样可以吗
网格示例Click here
传播Sheet例子
https://demos.telerik.com/kendo-ui/spreadsheet/index
如果没有,有没有办法将电子表格合并到 angular2 应用程序中?
你使用哪个 angular 版本并不重要,如果你想访问另一个 script.this 中的方法,你应该如何使用 angular2
<script src="js/jquery.min.js"></script>
<script src="js/jszip.min.js"></script>
<script src="js/kendo.all.min.js"></script>
将这些脚本包含在您的 index.html 中,为了访问这些脚本,请使用 declare
并在您的 service
[ 中创建 any
类型的 variable
import { Injectable } from '@angular/core';
declare graphs:any;
//graphs represents the scripts you have imported from index.html
@Injectable()
export class GraphService {
constructor() { }
dosomethingWithgraphs(){
graphs.methods()//accessing its methods
graphs.properties//accessing its properties
}
}
angular2 在任何即将发布的版本中是否会有 Kendo 电子表格或导出到 excel 的网格。?我们希望在 angular2 中使用电子表格版本,因为我们使用的是 angular1 版本并且想要升级。请问这样可以吗
网格示例Click here
传播Sheet例子 https://demos.telerik.com/kendo-ui/spreadsheet/index
如果没有,有没有办法将电子表格合并到 angular2 应用程序中?
你使用哪个 angular 版本并不重要,如果你想访问另一个 script.this 中的方法,你应该如何使用 angular2
<script src="js/jquery.min.js"></script>
<script src="js/jszip.min.js"></script>
<script src="js/kendo.all.min.js"></script>
将这些脚本包含在您的 index.html 中,为了访问这些脚本,请使用 declare
并在您的 service
[ 中创建 any
类型的 variable
import { Injectable } from '@angular/core';
declare graphs:any;
//graphs represents the scripts you have imported from index.html
@Injectable()
export class GraphService {
constructor() { }
dosomethingWithgraphs(){
graphs.methods()//accessing its methods
graphs.properties//accessing its properties
}
}