How to reference another column in a datatable column validator?

Hello.

I would like to add a column validator to a datatable that references the value of another column on the same row.

For example, I want to have a LastName validator check the values of both FirstName and LastName before the user completes the remaining fields in the row.

What is the best way to reference another column's value from the column validator code?

Thanks for any help.

Edit: I found a better way to do the validation by hooking the datatable change event. But it would still be useful to know how to do this.

Dear @chs-web,
The column validators aren't meant to be used with multiple columns, they're more like hints. Using edit/change events in Data Table will allow you to get values from multiple columns, and form/control validators will help prevent submit of forms with invalid input in Data Table.