Skip to main content

Datagrid Column Required Field Control

You can perform the Datagrid Column Required Field Control on the Client(ts) side in the Datagrid OnRowInserting event. Example usage is as follows.

async DataGrid2_OnRowInserting(args: Controls.EventArgs.IRowInsertingEventArgs) { var a = args; if(args.row["NewColumn2"] == null){ this.showToaster("Blank Impassable!","This field is required.","Validation"); args.cancel = true; } }