mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 07:46:54 +00:00
Revert xlsx feature, just csv for now
Don't want another dep
This commit is contained in:
@@ -241,12 +241,6 @@ function addTableElement(blenderId, csvData, filename) {
|
|||||||
tableTitle.append(downloadCsv);
|
tableTitle.append(downloadCsv);
|
||||||
downloadCsv.on('click', function() { table.download("csv", "data.csv"); })
|
downloadCsv.on('click', function() { table.download("csv", "data.csv"); })
|
||||||
|
|
||||||
var downloadExcel = $('<a><i class="fa-solid fa-file-excel"></i></a>')
|
|
||||||
.css("margin-left", "10px")
|
|
||||||
.css("cursor", "pointer");
|
|
||||||
tableTitle.append(downloadExcel);
|
|
||||||
downloadExcel.on('click', function() { table.download("xlsx", "data.xlsx"); })
|
|
||||||
|
|
||||||
table.on("rowSelected", function (row) {
|
table.on("rowSelected", function (row) {
|
||||||
var index = row.getIndex(); // the guid of the object
|
var index = row.getIndex(); // the guid of the object
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user