Search
CellValidateEventArgs.column Property
See Also
 






Gets the column of the cell, associated with the event.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get column() {}

 Property Value

Number. The column index.

 Example

The folloing code handles the cellFocusing event of a Grid instance, which uses the CellValidateEventArgs class to provide data for the event:

JavaScript  Copy Code
grid.cellFocusing.addEventListener((sender, args) =>
{
    if (document.getElementById("cancelFocusing").checked)
    {
        args.cancel = true;
        return;
    }
    var value = sender.effectiveModel.value(args.row, args.column);
    showData("cellFocusing", args.row, { cellValue: value });
});

 See Also