mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
You can now filter headers in web spreadsheets
This commit is contained in:
@@ -144,6 +144,7 @@ function addTableElement(blenderId, csvData, filename) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// console.log(connectedClients[blenderId]);
|
// console.log(connectedClients[blenderId]);
|
||||||
|
|
||||||
const tableContainer = $("<div></div>")
|
const tableContainer = $("<div></div>")
|
||||||
.addClass("table-container")
|
.addClass("table-container")
|
||||||
.attr("id", "container-" + blenderId);
|
.attr("id", "container-" + blenderId);
|
||||||
@@ -225,6 +226,7 @@ function addTableElement(blenderId, csvData, filename) {
|
|||||||
menu = createHeaderMenu(definitions, table);
|
menu = createHeaderMenu(definitions, table);
|
||||||
definitions.forEach((column) => {
|
definitions.forEach((column) => {
|
||||||
column.visible = true;
|
column.visible = true;
|
||||||
|
column.headerFilter = true;
|
||||||
column.headerMenu = menu;
|
column.headerMenu = menu;
|
||||||
});
|
});
|
||||||
return definitions;
|
return definitions;
|
||||||
|
|||||||
Reference in New Issue
Block a user