{"action":"closed","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/120","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/120/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/120/events","html_url":"https://github.com/wenzhixin/bootstrap-table-examples/issues/120","id":125354998,"number":120,"title":"How to custom json format on Server Side Pagination","user":{"login":"liunewshine","id":7698511,"avatar_url":"https://avatars.githubusercontent.com/u/7698511?v=3","gravatar_id":"","url":"https://api.github.com/users/liunewshine","html_url":"https://github.com/liunewshine","followers_url":"https://api.github.com/users/liunewshine/followers","following_url":"https://api.github.com/users/liunewshine/following{/other_user}","gists_url":"https://api.github.com/users/liunewshine/gists{/gist_id}","starred_url":"https://api.github.com/users/liunewshine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liunewshine/subscriptions","organizations_url":"https://api.github.com/users/liunewshine/orgs","repos_url":"https://api.github.com/users/liunewshine/repos","events_url":"https://api.github.com/users/liunewshine/events{/privacy}","received_events_url":"https://api.github.com/users/liunewshine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T09:16:32Z","updated_at":"2016-01-08T01:12:42Z","closed_at":"2016-01-08T01:12:42Z","body":"{\r\n    \"total\": 200,\r\n    \"rows\": [\r\n        {\r\n            \"id\": 0,\r\n            \"name\": \"Item 0\",\r\n            \"price\": \"$0\"\r\n        },\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"Item 1\",\r\n            \"price\": \"$1\"\r\n        },\r\n\r\nThis is the json format give,but my json is not this,like this,how to use the Pagination\r\n\r\n{\"slider\":[1],\"hasPrePage\":false,\"startRow\":1,\"offset\":0,\"lastPage\":true,\"prePage\":1,\"hasNextPage\":false,\"nextPage\":1,\"endRow\":2,\"totalCount\":2,\"firstPage\":true,\"totalPages\":1,\"limit\":10,\"page\":1,\"items\":[{\"id\":1,\"userId\":1,\"name\":\"爱茜茜里\",\"contact\":\"18918296259\",\"address\":\"南翔\",\"weChatNo\":\"89760983\",\"website\":\"http://baidu.com\",\"logo\":\"test\"},{\"id\":2,\"userId\":1,\"name\":\"牛奶棚\",\"contact\":\"18913456259\",\"address\":\"嘉定\",\"weChatNo\":\"435534534\",\"website\":\"http://sina.com\",\"logo\":\"test\"}]}"}}