Component to generate HTML Table from CSV String
var genTable = new csv2table({
csvString: "csvString",
domElem: "tableID"
});
genTable.run();
Specify csvstring in variable
csvString
. Specify ID of table/div element present on web page in variabledomElem
.
var genTable = new csv2table({
csvString: "csvString"
});
genTable.run();
Specify csvstring in variable
csvString
. This method will add a table element to existing DOM tree of web page.