{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/25","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/25/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/25/events","html_url":"https://github.com/wenzhixin/bootstrap-table-examples/issues/25","id":71279723,"number":25,"title":"how to get flatJSON list from remote url","user":{"login":"tyagogoulart","id":6665477,"avatar_url":"https://avatars.githubusercontent.com/u/6665477?v=3","gravatar_id":"","url":"https://api.github.com/users/tyagogoulart","html_url":"https://github.com/tyagogoulart","followers_url":"https://api.github.com/users/tyagogoulart/followers","following_url":"https://api.github.com/users/tyagogoulart/following{/other_user}","gists_url":"https://api.github.com/users/tyagogoulart/gists{/gist_id}","starred_url":"https://api.github.com/users/tyagogoulart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyagogoulart/subscriptions","organizations_url":"https://api.github.com/users/tyagogoulart/orgs","repos_url":"https://api.github.com/users/tyagogoulart/repos","events_url":"https://api.github.com/users/tyagogoulart/events{/privacy}","received_events_url":"https://api.github.com/users/tyagogoulart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-27T13:13:27Z","updated_at":"2015-04-27T14:57:27Z","closed_at":"2015-04-27T14:57:27Z","body":"I'm trying to get data into bootstrap table with flatJSON plugin with data-url to a remote link returning a json list, but it doesn't load anything.\r\n\r\nI tried to made the json list a local archive .json and set data-url to this and it works perfectly.\r\n\r\nI have to do something different to make it work with remote url?\r\n\r\n\r\nJSON\r\n\r\n[{\"row\":{\"id\":1,\"natureza3\":\"400000000\",\"descricao_natureza3\":\"RECEITA\",\"valor_inicial\":\"0,00\",\"valor_realizado\":\"86.263,16\"}},{\"row\":{\"id\":2,\"natureza3\":\"411000000\",\"descricao_natureza3\":\"RECEITA TRIBUTARIA\",\"valor_inicial\":\"3.786.904.258,00\",\"valor_realizado\":\"945.522.770,17\"}},{\"row\":{\"id\":3,\"natureza3\":\"413000000\",\"descricao_natureza3\":\"RECEITA PATRIMONIAL\",\"valor_inicial\":\"49.090.388,00\",\"valor_realizado\":\"27.406.540,51\"}},{\"row\":{\"id\":4,\"natureza3\":\"414000000\",\"descricao_natureza3\":\"RECEITA AGROPECUARIA\",\"valor_inicial\":\"10.000,00\",\"valor_realizado\":\"0,00\"}},{\"row\":{\"id\":5,\"natureza3\":\"416000000\",\"descricao_natureza3\":\"RECEITA DE SERVICOS\",\"valor_inicial\":\"143.687.606,00\",\"valor_realizado\":\"38.812.264,90\"}},{\"row\":{\"id\":6,\"natureza3\":\"417000000\",\"descricao_natureza3\":\"TRANSFERENCIAS CORRENTES\",\"valor_inicial\":\"4.346.932.471,00\",\"valor_realizado\":\"1.333.283.660,04\"}},{\"row\":{\"id\":7,\"natureza3\":\"419000000\",\"descricao_natureza3\":\"OUTRAS RECEITAS CORRENTES\",\"valor_inicial\":\"104.701.326,00\",\"valor_realizado\":\"15.976.885,88\"}},{\"row\":{\"id\":8,\"natureza3\":\"421000000\",\"descricao_natureza3\":\"OPERACOES DE CREDITO\",\"valor_inicial\":\"309.699.729,00\",\"valor_realizado\":\"0,00\"}},{\"row\":{\"id\":9,\"natureza3\":\"422000000\",\"descricao_natureza3\":\"ALIENACAO DE BENS\",\"valor_inicial\":\"2.224.598,00\",\"valor_realizado\":\"100.927,01\"}},{\"row\":{\"id\":10,\"natureza3\":\"424000000\",\"descricao_natureza3\":\"TRANSFERENCIAS DE CAPITAL\",\"valor_inicial\":\"440.315.310,00\",\"valor_realizado\":\"156.027.522,33\"}},{\"row\":{\"id\":11,\"natureza3\":\"425000000\",\"descricao_natureza3\":\"OUTRAS RECEITAS DE CAPITAL\",\"valor_inicial\":\"265.633.805,00\",\"valor_realizado\":\"63,24\"}},{\"row\":{\"id\":12,\"natureza3\":\"471000000\",\"descricao_natureza3\":\"RECEITA TRIBUTARIA - INTRA-ORCAMENTARIA\",\"valor_inicial\":\"360.000,00\",\"valor_realizado\":\"102.535,24\"}},{\"row\":{\"id\":13,\"natureza3\":\"476000000\",\"descricao_natureza3\":\"RECEITAS DE SERVICOS - INTRA-ORCAMENTARIA\",\"valor_inicial\":\"2.358.591,00\",\"valor_realizado\":\"72.281,08\"}},{\"row\":{\"id\":14,\"natureza3\":\"477000000\",\"descricao_natureza3\":\"TRANSFERENCIAS CORRENTES - INTRA-ORCAMENTARIA\",\"valor_inicial\":\"5.396.558,00\",\"valor_realizado\":\"400.000,00\"}},{\"row\":{\"id\":15,\"natureza3\":\"479000000\",\"descricao_natureza3\":\"OUTRAS RECEITAS CORRENTES INTRA ORCAMENTARIAS\",\"valor_inicial\":\"2.300.000,00\",\"valor_realizado\":\"0,00\"}},{\"row\":{\"id\":16,\"natureza3\":\"484000000\",\"descricao_natureza3\":\"TRANSFERENCIAS DE CAPITAL\",\"valor_inicial\":\"1.600.000,00\",\"valor_realizado\":\"0,00\"}},{\"row\":{\"id\":17,\"natureza3\":\"491000000\",\"descricao_natureza3\":\"DEDUCOES DA RECEITA TRIB.P\\/FORMACAO DO FUNDEB\",\"valor_inicial\":\"-501.664.481,00\",\"valor_realizado\":\"-150.513.302,18\"}},{\"row\":{\"id\":18,\"natureza3\":\"497000000\",\"descricao_natureza3\":\"DEDUCAO DA REC.DE TRANSF.P\\/FORMACAO DO FUNDEB\",\"valor_inicial\":\"-640.717.476,00\",\"valor_realizado\":\"-212.229.087,51\"}}]\r\n\r\nHTML\r\n\r\n<!table id=\"table\"\r\ndata-toggle=\"table\"\r\ndata-flat=\"true\"\r\ndata-search=\"true\"\r\ndata-url=\"http://localhost/consultas/consulta_receita.php\">\r\n<!thead>\r\n<!tr>\r\n<!th data-field=\"row.descricao_natureza3\" data-sortable=\"true\">Name</th>\r\n<!th data-field=\"row.natureza3\" data-sortable=\"true\">Stargazers</th>\r\n<!/tr>\r\n<!/thead>\r\n<!table>"},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/comments/96686599","html_url":"https://github.com/wenzhixin/bootstrap-table-examples/issues/25#issuecomment-96686599","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table-examples/issues/25","id":96686599,"user":{"login":"djhvscf","id":4496763,"avatar_url":"https://avatars.githubusercontent.com/u/4496763?v=3","gravatar_id":"","url":"https://api.github.com/users/djhvscf","html_url":"https://github.com/djhvscf","followers_url":"https://api.github.com/users/djhvscf/followers","following_url":"https://api.github.com/users/djhvscf/following{/other_user}","gists_url":"https://api.github.com/users/djhvscf/gists{/gist_id}","starred_url":"https://api.github.com/users/djhvscf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djhvscf/subscriptions","organizations_url":"https://api.github.com/users/djhvscf/orgs","repos_url":"https://api.github.com/users/djhvscf/repos","events_url":"https://api.github.com/users/djhvscf/events{/privacy}","received_events_url":"https://api.github.com/users/djhvscf/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T14:57:26Z","updated_at":"2015-04-27T14:57:26Z","body":"Ok, you're welcome"}}