beforeExpand
fires before expanding a Layout cell
beforeExpand: (id: string) => boolean | void;
Parameters:
id: string
- the id of a cell
Returns:
Return false
to block expanding a cell; otherwise, true
.
Example
layout.events.on("beforeExpand", function(id){
// your logic here
return false;
});
Related sample: Layout. Events
Change log:
added in v6.4