3.2.0

Validating an Entire Row

Just wondering how others go about validating an entire row in a Grid.

I know that if a cell's contents is changed, the validation event fires.
However, I have situations where certain cells/fields are required - and if the user never enters that cell, then a validation event never gets fired.

I guess I need some kind of row-level validation.
I suppose that any time a new row is added or a value is changed on that row, I can mark that row as "dirty" and then perform validation when the user attempts to change rows.

Is that standard operating procedure?
Alan
May 27,
Anyone??
Alan
May 29,
I suppose you could have a hidden field with a 1 or 0 value. Pick one of them as validated and the other as unvalidated.

However, I suspect the real issue will be when do you plan to validate new rows? If its upon access of another row, what happens if they scroll away and there are hundreds or thousands of rows?

There are probably other issues to consider too. Might be simpler to have some sort of add button somewhere on a page.
Anthony
May 30,

This topic is archived.

See also:


Back to support forum