Search
RowModifyingEventArgs.row Property
See Also
 






Gets the index of the row that is being modified.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get row() {}

 Property Value

Number. The row index.

 Example

The following code handles the rowDeleting event of a Grid instance. The event handler checks the row index of the element to be deleted and, if it is in the first row, cancels the event.

JavaScript  Copy Code

rid.rowDeleting.addEventListener(onRowDeleting);

function onRowDeleting(sender, args)
{   
   
    if(args.row == 0)
      args.cancel = true;  
}

 See Also