xCanSubmitCell method

Future<bool> xCanSubmitCell(
  1. DataGridRow dataGridRow,
  2. RowColumnIndex rowColumnIndex,
  3. GridColumn column
)

Implementation

Future<bool> xCanSubmitCell(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) {
  // if (column.columnName == 'id' && newCellValue == null) {
  //   // Return false, to retain in edit mode.
  //   // To avoid null value for cell
  //   return false;
  // } else {
  return Future.value(true);
  //}
}