A helper function to check if the id provided is valid.
Id as [[GridRowId]].
Row as [[GridRowModel]].
Optional
A custom error message to display for invalid IDs
A helper function to check if the id provided is valid.