Gets the default content, displayed in the cell.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
get defaultContent() {} |
Node. The default content.
The following code handles the customDrawHeader event of Grid where it uses the defaultContent property of the CellCustomDrawEventArgs, which provides the data for the event:
JavaScript Copy Code |
---|
grid.customDrawHeader.addEventListener(function (sender, args) if (args.column === 4 || args.column === 5) div.appendChild(args.defaultContent); |