How do I validate in datagridfield?

Here's another DGF validation snippet