javascript - How to download .csv data in multiple excel sheets using java script? -
how download .csv data in multiple excel sheets using java script.
data1={"a":"shri","b"="om"} should downloaded in first sheet ,
data1={"a":"rahul","b"="ajay"} should downloaded in second sheet , there n:n relations between objects , sheets. means number of objects equal number of sheets. there way create multiple sheets in java script ?
`exportcsvtxls(){ //here conversion logic put multiple excel sheet }` if have answer using angular js fine well.
want import multiple objects in multiple sheets.
i never create excel file directly in javascript.
you can send data server , build excel file it. example, have array of object in json, parse json , build each sheet based on objects in array.
the result of of query must file generated enable user download it.
it easier create excel file java or c# in javascript.

Comments
Post a Comment