Gets the column of the cell, associated with the event.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
get column() {} |
Number. The column index.
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 }); }); |