akveo / akveo/ng2-smart-table

Json Multilevel in couchDB

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
867
PR merge metrics
No merged PRs in 30d

Description

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"}}]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.