Kendo DataSource 是否有一对一的替换?
Is there a one-on-one replacement for Kendo DataSource?
Kendo UI for jQuery 库有一个易于配置的数据源,可用于环绕 REST API。
Angular2 在 Kendo UI 中是否有类似(计划)的内容?或者是使用环绕 @angular/http
的服务并使用 RxJS Observable
s 的推荐方式?
不,他们认为 Angular2 具有足够的功能,所以你最后的假设是正确的。
I'm afraid that we do not plan to have a DataSource component. We
believe that having a DataSource like the one in Kendo UI for jQuery
does not fit in the NG2 context. The framework already provides most
of the DataSource functionality such as ability to fetch data, change
tracking etc. Also there are pleiad of libraries and patterns for
working with data. Thus, having single component to handle all of
those seems more of a unnecessary constraint.
However, we do plan to make available helper functions in order to
streamline the Grid data operation descriptors serialization and
operation handling. Providing better flexibility and integration with
the rest of the NG2 ecosystem. Some functions already exist for
sorting and paging for OData. As well as generating a comparer
function for in-memory processing (this is demonstrated in this sample).
Kendo UI for jQuery 库有一个易于配置的数据源,可用于环绕 REST API。
Angular2 在 Kendo UI 中是否有类似(计划)的内容?或者是使用环绕 @angular/http
的服务并使用 RxJS Observable
s 的推荐方式?
不,他们认为 Angular2 具有足够的功能,所以你最后的假设是正确的。
I'm afraid that we do not plan to have a DataSource component. We believe that having a DataSource like the one in Kendo UI for jQuery does not fit in the NG2 context. The framework already provides most of the DataSource functionality such as ability to fetch data, change tracking etc. Also there are pleiad of libraries and patterns for working with data. Thus, having single component to handle all of those seems more of a unnecessary constraint.
However, we do plan to make available helper functions in order to streamline the Grid data operation descriptors serialization and operation handling. Providing better flexibility and integration with the rest of the NG2 ecosystem. Some functions already exist for sorting and paging for OData. As well as generating a comparer function for in-memory processing (this is demonstrated in this sample).