{"action":"created","issue":{"url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/202","repository_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin","labels_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/202/comments","events_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/202/events","html_url":"https://github.com/hhurz/tableExport.jquery.plugin/issues/202","id":264091185,"node_id":"MDU6SXNzdWUyNjQwOTExODU=","number":202,"title":"Multiple worksheets and .xlsx file extension","user":{"login":"ayellutero","id":10739230,"node_id":"MDQ6VXNlcjEwNzM5MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/10739230?v=4","gravatar_id":"","url":"https://api.github.com/users/ayellutero","html_url":"https://github.com/ayellutero","followers_url":"https://api.github.com/users/ayellutero/followers","following_url":"https://api.github.com/users/ayellutero/following{/other_user}","gists_url":"https://api.github.com/users/ayellutero/gists{/gist_id}","starred_url":"https://api.github.com/users/ayellutero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayellutero/subscriptions","organizations_url":"https://api.github.com/users/ayellutero/orgs","repos_url":"https://api.github.com/users/ayellutero/repos","events_url":"https://api.github.com/users/ayellutero/events{/privacy}","received_events_url":"https://api.github.com/users/ayellutero/received_events","type":"User","site_admin":false},"labels":[{"id":381254956,"node_id":"MDU6TGFiZWwzODEyNTQ5NTY=","url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/labels/feature%20request","name":"feature request","color":"bfdadc","default":false},{"id":698803976,"node_id":"MDU6TGFiZWw2OTg4MDM5NzY=","url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/labels/xml%20(Excel%202003)","name":"xml (Excel 2003)","color":"f9f9f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-10T03:52:31Z","updated_at":"2018-11-21T06:20:14Z","closed_at":null,"author_association":"NONE","body":"Is it possible to have multiple tables exported in their own worksheets? If so, how? I tried using this example,\r\n\r\n```\r\n$('table').tableExport({\r\n        type:'excel',\r\n        excelFileFormat:'xmlss',\r\n        worksheetName: ['Table 1','Table 2', 'Table 3']\r\n});\r\n```\r\nbut I can't seem to get it to work. It only exports one specific table with a worksheet name 'Table 1,Table 2,Table 3'. I don't know how to get multiple tables either. Please help.\r\n\r\nAlso when I download an excel file, its default file extension is .xml, not .xlsx. How do I fix this? I tried changing the excelFileFormat to 'xlsx' and it produces an .xls file."},"comment":{"url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/comments/440548678","html_url":"https://github.com/hhurz/tableExport.jquery.plugin/issues/202#issuecomment-440548678","issue_url":"https://api.github.com/repos/hhurz/tableExport.jquery.plugin/issues/202","id":440548678,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDU0ODY3OA==","user":{"login":"faisalemir","id":13713376,"node_id":"MDQ6VXNlcjEzNzEzMzc2","avatar_url":"https://avatars2.githubusercontent.com/u/13713376?v=4","gravatar_id":"","url":"https://api.github.com/users/faisalemir","html_url":"https://github.com/faisalemir","followers_url":"https://api.github.com/users/faisalemir/followers","following_url":"https://api.github.com/users/faisalemir/following{/other_user}","gists_url":"https://api.github.com/users/faisalemir/gists{/gist_id}","starred_url":"https://api.github.com/users/faisalemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faisalemir/subscriptions","organizations_url":"https://api.github.com/users/faisalemir/orgs","repos_url":"https://api.github.com/users/faisalemir/repos","events_url":"https://api.github.com/users/faisalemir/events{/privacy}","received_events_url":"https://api.github.com/users/faisalemir/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T06:20:14Z","updated_at":"2018-11-21T06:20:14Z","author_association":"NONE","body":"i use this code and working..\r\n```\r\nvar xmlssData = $('#tblSummary, #tblDetail').tableExport({\r\n        type:'excel',\r\n        escape: false,\r\n        mso: {\r\n                    fileFormat:'xmlss',\r\n                    worksheetName: ['Summary','Detail']\r\n         },\r\n        outputMode: 'string'\r\n }),\r\nblob = new Blob([xmlssData], {type: \"application/vnd.ms-excel;charset=utf-8\"});\r\n\r\nsaveAs(blob, 'fileName.xls');\r\n```"}}
{"actor":{"display_login":"faisalemir"}}