akveo / akveo/ng2-smart-table

Json Multilevel in couchDB

未关闭
#333 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
867
PR 合并指标
30 天内没有已合并 PR

描述

CouchDB provide responses with this header '{"total_rows":25,"offset":0,"rows":[' and the table is not plotting, can anyone help ?

I've changed server.data-source.ts to

> ServerDataSource.prototype.extractDataFromResponse = function (res) {
> var rawData = res.json()**.rows;**

But the table is plotting with correct rows number, but only one big cell empty

> {"total_rows":25,"offset":0,"rows":[
> {"id":"77499b3d8f1389478ba776a67f040e16","key":"2017/05/01 16:43:53","value":{"altUserId":"091817US","territoryNum":"ARP","branchOfficeNum":"T02","regionNum":"T2","altPwd":"********","larVer":"931","sessionDurationHours":12,"timesliceDurationSeconds":54,"deviceId":19998423,"msgType":"XC01"}},
> {"id":"77499b3d8f1389478ba776a67f0417dc","key":"2017/05/01 16:43:55","value":{"altUserId":"091817US","territoryNum":"ARP","branchOfficeNum":"T02","regionNum":"T2","altPwd":"********","larVer":"931","sessionDurationHours":12,"timesliceDurationSeconds":54,"deviceId":19998423,"msgType":"ACK"}},
> {"id":"77499b3d8f1389478ba776a67f04205d","key":"2017/05/01 16:43:55","value":{"altUserId":"091817US","territoryNum":"ARP","branchOfficeNum":"T02","regionNum":"T2","altPwd":"********","larVer":"931","sessionDurationHours":12,"timesliceDurationSeconds":54,"deviceId":19998423,"msgType":"XC4B"}},
> {"id":"77499b3d8f1389478ba776a67f042d2e","key":"2017/05/01 16:44:09","value":{"altUserId":"091817US","territoryNum":"ARP","branchOfficeNum":"T02","regionNum":"T2","altPwd":"********","larVer":"931","sessionDurationHours":12,"timesliceDurationSeconds":54,"deviceId":19998423,"msgType":"SC0B"}}]

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。