layout.on("resize", function(){ datagrid.resize() }, plugin);
window.addEventListener("resize", function() { tree.resize(); datagrid.resize(); });