0
테이블의 첫 번째 행을 반환 잘 작동합니다. 기능을 원하는 목적으로 사용하는 구조화 된 코드가 필요합니다.JS 나는 다음과 같은 한
- 테이블을 작성하는 기능과 appendi 그것을 (첫 번째 예에서와 같이).
JSON 형식 :
var source = {
"Products": [
{
"Product": "xxxxx.com",
"Bookings": 560,
"Percentage": 55.82,
"Transactions": "xxxx.xx"
},
{
"Product": "xxxxx Mobile",
"Bookings": 487,
"Percentage": 9.12,
"Transactions": "xxxx.xx"
},
{
"Product": "xx 24-7",
"Bookings": 478,
"Percentage": 8.95,
"Transactions": "xxxx.xx"
},
{
"Product": "xxxxxx",
"Bookings": 422,
"Percentage": 7.9,
"Transactions": "xxxx.xx"
},
{
"Product": "API",
"Bookings": 315,
"Percentage": 5.9,
"Transactions": "xxxx.xx"
},
{
"Product": "API",
"Bookings": 315,
"Percentage": 2.83,
"Transactions": "xxxx.xx"
}
],
"Total": {
"Bookings": 315,
"Transactions": "xxxx.xx"
}
}
어떤 도움?
것은 나를 비트) – Cameron