akveo / akveo/ng2-smart-table

Migrate from LocalDataSource to ServerDataSource

未關閉
#889 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
1.6k
分支
867
PR 合併指標
30 天內沒有已合併 PR

描述

I'm having difficulties trying to migrate to ServerDataSource.

We are do all our backend call vie AuthService like [this one](https://medium.com/@ryanchenkie_40935/angular-authentication-using-the-http-client-and-http-interceptors-2f9d1540eb8) which returns https Promis. The AuthService is called but custom Service which encapsulates our business logic and also returns promise. The custom service is called by a component and uses LocalDataSource .load method to set the data to the grid.

I would like to take advantage of the sorting and the pagination of the ServerDataSource but not doing the backend request thru the ServerDataSource .

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。