Initializes a new instance of the CellCustomDrawEventArgs class.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
function CellCustomDrawEventArgs (row, column, defaultContent) |
Number. The row index of the cell.
Number. The column index of the cell.
Node. The default content displayed in the cell.
The following code handles the customDrawCell event of a Grid, which uses the CellCustomDrawEventArgs class and the content property:
JavaScript Copy Code |
---|
grid.customDrawCell.addEventListener(function (sender, args) if (args.column === 1) |