{"action":"closed","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1000","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1000/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1000/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1000","id":88463735,"number":1000,"title":"Bootstrap Table Export button not showing!","user":{"login":"simkeyur","id":3363966,"avatar_url":"https://avatars.githubusercontent.com/u/3363966?v=3","gravatar_id":"","url":"https://api.github.com/users/simkeyur","html_url":"https://github.com/simkeyur","followers_url":"https://api.github.com/users/simkeyur/followers","following_url":"https://api.github.com/users/simkeyur/following{/other_user}","gists_url":"https://api.github.com/users/simkeyur/gists{/gist_id}","starred_url":"https://api.github.com/users/simkeyur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simkeyur/subscriptions","organizations_url":"https://api.github.com/users/simkeyur/orgs","repos_url":"https://api.github.com/users/simkeyur/repos","events_url":"https://api.github.com/users/simkeyur/events{/privacy}","received_events_url":"https://api.github.com/users/simkeyur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-15T15:42:27Z","updated_at":"2015-06-15T16:08:31Z","closed_at":"2015-06-15T16:08:31Z","body":"\r\n![screen shot 2015-06-15 at 10 44 56 am](https://cloud.githubusercontent.com/assets/3363966/8163947/a2b60908-134b-11e5-9316-b0c9df0e00fe.png)\r\nHi,\r\n\r\nFirst of all thanks to this awesome library! I am trying to integrate this feature of exporting table to csv file, but I am not getting any success.\r\n\r\nThis is what i am doing:\r\n\r\n<html>\r\n      <head>\r\n        <!--Load the AJAX API-->\r\n            <link rel=\"stylesheet\" href=\"css/bootstrap.min.css\">\r\n            <link rel=\"stylesheet\" href=\"css/bootstrap-table.css\">\r\n            <link href=\"css/c3.css\" rel=\"stylesheet\" type=\"text/css\">\r\n          \r\n      </head>\r\n      <body>\r\n            <script src=\"js/c3.min.js\"></script>\r\n            <script src=\"js/d3.min.js\"></script>\r\n            <script type=\"text/javascript\" src=\"http://code.jquery.com/jquery-2.1.4.min.js\"></script>\r\n            <script type=\"text/javascript\" src=\"js/table/tableExport.min.js\"></script>\r\n            <script type=\"text/javascript\" src=\"js/table/bootstrap-table-export.js\"></script>\r\n            <script type=\"text/javascript\" src=\"js/bootstrap.min.js\"></script>\r\n            <script type=\"text/javascript\" src=\"js/table/bootstrap-table.js\"></script>\r\n            <script type=\"text/javascript\" src=\"js/table/FileSaver.min.js\"></script>\r\n          \r\n            \r\n            \r\n            <center><h1>Visualization Charts for OAP Examples</h1></center>\r\n            <center><a href=\"index.html\"><button type=\"button\">BACK</button></a></center>\r\n            <!-- Table Start -->\r\n            <hr/>\r\n            <center><h2>Sortable table Example</h2></center>\r\n            <hr/>\r\n            \r\n            <div class=\"container\">\r\n            <h1>Export</h1>\r\n            <table id=\"table\"\r\n                   data-toggle=\"table\"\r\n                   data-show-export=\"true\"\r\n                   data-url=\"data/data1.json\">\r\n                <thead>\r\n                <tr>\r\n                    <th data-field=\"SHIP_NODE\">SHIP_NODE</th>\r\n                </tr>\r\n                </thead>\r\n            </table>\r\n            </div>\r\n     </body>\r\n</html>\r\n\r\nIt shows the table with data, and it loads all js libraries mentioned. But it shows this weird error in console. Can you guide me what I am doing wrong? I am pretty new to this, I know this might be something silly.\r\n\r\nError I am getting:\r\n\r\nUncaught TypeError: Cannot read property 'defaults' of undefined\r\n(anonymous function) @ bootstrap-table-export.js:22\r\n(anonymous function) @ bootstrap-table-export.js:84\r\n\r\n![screen shot 2015-06-15 at 10 37 23 am](https://cloud.githubusercontent.com/assets/3363966/8163853/2e9cc7a0-134b-11e5-9530-e9a854ea9506.png)\r\n\r\n\r\nThanks!"}}