Skip to content

onSubViewRender

fires each time a subview is rendered

function onSubViewRender(
// the item that a subgrid is rendered for
item: object,
// the HTML node of the subview
node: HTMLElement
): void
datagrid1.attachEvent("onSubViewRender",function(item,node){
console.log("A subview is rendered");
});

The event fires for the subview that is opened and for the already opened subviews.