private void tblView_InvalidRowException(object sender, DevExpress.Xpf.Grid.InvalidRowExceptionEventArgs e) { if (e.ErrorText != "") { Utils.showMessage(e.ErrorText, "Lưu ý", "ERR"); } e.ExceptionMode = DevExpress.Xpf.Grid.ExceptionMode.NoAction; }
private void TableView_InvalidRowException(object sender, DevExpress.Xpf.Grid.InvalidRowExceptionEventArgs e) { if (e.RowHandle == GridControl.NewItemRowHandle) { e.ErrorText = "Please enter the Product name. "; e.WindowCaption = "Input Error"; view.FocusedColumn = grid.Columns["ProductName"]; } }
private void doublescoretableview_InvalidRowException(object sender, DevExpress.Xpf.Grid.InvalidRowExceptionEventArgs e) { e.ExceptionMode = ExceptionMode.NoAction; }
void TableView_InvalidRowException(object sender, DevExpress.Xpf.Grid.InvalidRowExceptionEventArgs e) { e.ExceptionMode = ExceptionMode.NoAction; }