canSubmitCell method
Future<bool>
canSubmitCell(
- DataGridRow dataGridRow,
- RowColumnIndex rowColumnIndex,
- GridColumn column
Called whenever the cell’s editing is completed i.e. prior to onCellSubmit method.
If you want to restrict the cell from being end its editing, you can return false. Otherwise, return true. onCellSubmit will be called only if the canSubmitCell returns true.
Implementation
@nonVirtual
@override
Future<bool> canSubmitCell(DataGridRow dataGridRow, RowColumnIndex rowColumnIndex, GridColumn column) {
return xCanSubmitCell(dataGridRow, rowColumnIndex, column);
}