{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1549","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1549/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1549/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1549/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1549","id":111455279,"number":1549,"title":"cant populate bootstrap table from json data from server","user":{"login":"xmanpsv","id":15129278,"avatar_url":"https://avatars.githubusercontent.com/u/15129278?v=3","gravatar_id":"","url":"https://api.github.com/users/xmanpsv","html_url":"https://github.com/xmanpsv","followers_url":"https://api.github.com/users/xmanpsv/followers","following_url":"https://api.github.com/users/xmanpsv/following{/other_user}","gists_url":"https://api.github.com/users/xmanpsv/gists{/gist_id}","starred_url":"https://api.github.com/users/xmanpsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmanpsv/subscriptions","organizations_url":"https://api.github.com/users/xmanpsv/orgs","repos_url":"https://api.github.com/users/xmanpsv/repos","events_url":"https://api.github.com/users/xmanpsv/events{/privacy}","received_events_url":"https://api.github.com/users/xmanpsv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-14T18:00:51Z","updated_at":"2015-10-15T14:45:45Z","closed_at":null,"body":"i can't populate bootstrap table from json data from server, please help.\r\n\r\n\r\n  <table id=\"table-javascript\">\r\n                       \r\n                    </table>\r\n                    <script>\r\n                        $(document).ready(function () {\r\n\r\n\r\n                            $('#table-javascript').bootstrapTable({\r\n                                url: 'Datos.asmx/ObtenerReporteConcentrado',                                \r\n                                method: 'get',\r\n                               // pageSize: 10,\r\n                               // pageList: '[10,20,30,40,200]',\r\n                                //sidePagination: 'client',\r\n                                dataType: 'json',\r\n                                queryParams: function (p) {\r\n                                    return {\r\n                                        iFamilias: 1\r\n                                    };\r\n                                }, columns: [\r\n                 {\r\n                     field: 'ClaEmp',\r\n                     title: 'ClaEmp'\r\n\r\n                 },\r\n                  {\r\n                      field: 'Empresa',\r\n                      title: 'Empresa'\r\n\r\n                  }, {\r\n                      field: 'Producto',\r\n                      title: 'Producto'\r\n\r\n                  }, {\r\n                      field: 'TotalDia',\r\n                      title: 'TotalDia'\r\n\r\n                  }, {\r\n                      field: 'TotalDiaComparado',\r\n                      title: 'TotalDiaComparado'\r\n\r\n                  }, {\r\n                      field: 'TotalDiferenciaDia',\r\n                      title: 'TotalDiferenciaDia'\r\n\r\n                  }, {\r\n                      field: 'TotalPorcentajeDia',\r\n                      title: 'TotalPorcentajeDia'\r\n\r\n                  }, {\r\n                      field: 'TotalAcumuladoMes',\r\n                      title: 'TotalAcumuladoMes'\r\n\r\n                  }, {\r\n                      field: 'TotalAcumuladoMesComparado',\r\n                      title: 'TotalAcumuladoMesComparado'\r\n\r\n                  }, {\r\n                      field: 'TotalDiferenciaAcumuladoMes',\r\n                      title: 'TotalDiferenciaAcumuladoMes'\r\n\r\n                  }, {\r\n                      field: 'TotalPorcentajeAcumuladoMes',\r\n                      title: 'TotalPorcentajeAcumuladoMes'\r\n\r\n                  }, {\r\n                      field: 'TotalAcumuladoAnio',\r\n                      title: 'TotalAcumuladoAnio'\r\n\r\n                  }, {\r\n                      field: 'TotalAcumuladoAnioComparado',\r\n                      title: 'TotalAcumuladoAnioComparado'\r\n\r\n                  }, {\r\n                      field: 'TotalDiferenciaAcumuladoAnio',\r\n                      title: 'TotalDiferenciaAcumuladoAnio'\r\n\r\n                  }, {\r\n                      field: 'TotalPorcentajeAcumuladoAnio',\r\n                      title: 'TotalPorcentajeAcumuladoAnio'\r\n\r\n                  }, {\r\n                      field: 'Indice',\r\n                      title: 'Indice'\r\n\r\n                  }\r\n\r\n                                ]\r\n                            });\r\n\r\n\r\n                           \r\n                            $('#btnGenerar').click(function () {\r\n                               $(\"#table-javascript\").bootstrapTable('refresh');\r\n                           });\r\n\r\n                        });\r\n                    </script>\r\n\r\n The response server:\r\n\r\n![respuesta](https://cloud.githubusercontent.com/assets/15129278/10492726/305c06b4-7273-11e5-915a-386e2108c885.png)\r\n\r\n\r\nplease help me to solve my problem, what can i do??\r\n\r\n![buscando](https://cloud.githubusercontent.com/assets/15129278/10492802/821a0e24-7273-11e5-834c-e975a9006b59.png)\r\n\r\n\r\n![nocuentra](https://cloud.githubusercontent.com/assets/15129278/10492817/9399c40a-7273-11e5-855a-57f247e1bb6b.png)\r\n\r\nthe responsehandler send me \r\n\"Uncaught TypeError: Cannot read property 'fixedScroll' of undefined\"\r\n"},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/148408353","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1549#issuecomment-148408353","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1549","id":148408353,"user":{"login":"xmanpsv","id":15129278,"avatar_url":"https://avatars.githubusercontent.com/u/15129278?v=3","gravatar_id":"","url":"https://api.github.com/users/xmanpsv","html_url":"https://github.com/xmanpsv","followers_url":"https://api.github.com/users/xmanpsv/followers","following_url":"https://api.github.com/users/xmanpsv/following{/other_user}","gists_url":"https://api.github.com/users/xmanpsv/gists{/gist_id}","starred_url":"https://api.github.com/users/xmanpsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmanpsv/subscriptions","organizations_url":"https://api.github.com/users/xmanpsv/orgs","repos_url":"https://api.github.com/users/xmanpsv/repos","events_url":"https://api.github.com/users/xmanpsv/events{/privacy}","received_events_url":"https://api.github.com/users/xmanpsv/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T14:45:45Z","updated_at":"2015-10-15T14:45:45Z","body":"@dabros  @djhvscf  i try to do the jsfiddle https://jsfiddle.net/xmanpsv/ccatLnrw/1/  \r\nchek it please\r\nthank \r\n"}}