OptionalcontrollerOptionallayoutOptionallayoutOptionallayoutOptionalonAn event that is emitted when the columns of this <vertex-scene-tree-table-layout> are resized with an array containing the widths of the columns in pixels.
OptionalonOptionaloverThe number of offscreen rows above and below the viewport to render. Having a higher number reduces the chance of the browser not displaying a row while scrolling.
This prop will be automatically populated based on the overScanCount prop specified in the parent <vertex-scene-tree /> element.
OptionalrowA callback that is invoked immediately before a row is about to be rendered. This callback can return additional data that can be bound to in a template.
This prop will be automatically populated based on the rowData prop specified in the parent <vertex-scene-tree /> element.
<script>
const table = document.querySelector('vertex-scene-tree-table');
table.rowData = (row) => {
return { func: () => console.log('row', row.node.name) };
};
</script>
<vertex-scene-tree>
<vertex-scene-tree-table>
<vertex-scene-tree-table-column>
<template> <button event:click="{{row.data.func}}">Hi</button> </template>
</vertex-scene-tree-table-column>
</vertex-scene-tree-table>
</vertex-scene-tree>
OptionalrowOptionalrowsOptionalscrollOptionaltotalOptionaltreeA reference to the scene tree to perform operations for interactions. Such as expansion, visibility and selection.
OptionalviewportOptionalviewport
Default