Hello All,
This is my data after the below statement.
var strCSV = e.target.result;
"line,machine,sku,prodOrder,eventId,lossCat,lossType,dateFrom,dateTo,tLDur,lossUnit,lossUOM
T1,M_FREEZER,101010,20101011,101011701,Labour,Cleaning,02-02-2016 14:00,02-02-2016 14:30,00:30:00,60,HR
T1,M_CLOSER,101010,20101011,101011716,Material,Finished Goods Waste - Quality Defect,02-02-2016 15:30,02-02-2016 15:45,00:15:00,300,PCS
T1,M_CLOSER,101010,20101011,101011717,Material,Finished Goods Waste - Quality Defect,02-02-2016 19:00,02-02-2016 19:20,00:20:00,700,PCS
T1,M_CLOSER,101010,20101011,101011718,Machine,Speed Loss,02-02-2016 16:00,02-02-2016 16:05,00:05:00,0.08,HR
T1,M_CLOSER,101010,20101011,101011719,Machine,Speed Loss,02-02-2016 16:20,02-02-2016 16:35,00:15:00,0.25,HR
T1,M_CLOSER,101010,20101013,101011752,Machine,Maintenance time,02-04-2016 07:40,02-04-2016 08:40,01:00:00,1,HR
T1,M_LABELLER,101010,20101011,101011720,Material,Finished Goods Waste - Quality Defect,02-02-2016 17:00,02-02-2016 18:10,01:10:00,400,PCS
T1,M_FILLER,101010,20101011,101011701,Labour,Cleaning,02-02-2016 14:00,02-02-2016 14:30,00:30:00,60,HR
T1,M_CAPPER,101010,20101011,101011702,Labour,Cleaning,02-02-2016 11:30,02-02-2016 11:40,00:10:00,30,HR
"
Now i want to split the data and need to display to table.Could you please let me know how to split and create json for the same.
I am attaching the Excel sheet which am uploading