{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/830","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/830/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/830/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/830","id":72427674,"number":830,"title":"Load function does not work for static data with server side pagination","user":{"login":"ikilledmypc","id":3873211,"avatar_url":"https://avatars.githubusercontent.com/u/3873211?v=3","gravatar_id":"","url":"https://api.github.com/users/ikilledmypc","html_url":"https://github.com/ikilledmypc","followers_url":"https://api.github.com/users/ikilledmypc/followers","following_url":"https://api.github.com/users/ikilledmypc/following{/other_user}","gists_url":"https://api.github.com/users/ikilledmypc/gists{/gist_id}","starred_url":"https://api.github.com/users/ikilledmypc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikilledmypc/subscriptions","organizations_url":"https://api.github.com/users/ikilledmypc/orgs","repos_url":"https://api.github.com/users/ikilledmypc/repos","events_url":"https://api.github.com/users/ikilledmypc/events{/privacy}","received_events_url":"https://api.github.com/users/ikilledmypc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/labels/help%20wanted","name":"help wanted","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-01T12:55:03Z","updated_at":"2015-05-20T23:40:02Z","closed_at":null,"body":"I have run into an issue in which I have data loaded from an external API with server side pagination enabled( a lot of data). The problem is that I want to be able to search on id and fill the table with the single result that this will deliver. With pagination on client side this works with the load method but with server side pagination it doesn't work.\r\nI'm using the following code:\r\n```\r\njQuery.getJSON('/api/subscriber/' + searchText, function (data) {\r\n    var objects = \"{\\\"total\\\":1, \\\"rows\\\":[\" + data + \"]}\";\r\n    $('#subscriber-table').bootstrapTable('load', objects);\r\n });\r\n```\r\nthis used to work with client side pagination\r\n```\r\njQuery.getJSON('/api/subscriber/' + searchText, function (data) {\r\n\tvar objects = [data];\r\n\t$('#subscriber-table').bootstrapTable('load', objects);\r\n});\r\n```\r\nAnyone know how I can make this work again using server side pagination?"},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/104072230","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/830#issuecomment-104072230","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/830","id":104072230,"user":{"login":"wenzhixin","id":2117018,"avatar_url":"https://avatars.githubusercontent.com/u/2117018?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzhixin","html_url":"https://github.com/wenzhixin","followers_url":"https://api.github.com/users/wenzhixin/followers","following_url":"https://api.github.com/users/wenzhixin/following{/other_user}","gists_url":"https://api.github.com/users/wenzhixin/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzhixin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzhixin/subscriptions","organizations_url":"https://api.github.com/users/wenzhixin/orgs","repos_url":"https://api.github.com/users/wenzhixin/repos","events_url":"https://api.github.com/users/wenzhixin/events{/privacy}","received_events_url":"https://api.github.com/users/wenzhixin/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T23:40:02Z","updated_at":"2015-05-20T23:40:02Z","body":"Any update? @ikilledmypc "}}