This is a difficult question.
I suspect the answer is hell no.
Is there any provision or functionality in the grid that allows for
row validation or cell validation
against a domain data source query operation.
heres the first scenario.
A person enters inline the contents of a number of fields in a single row.
one of the fields is freeform and anything can be entered.
this need to be validated against the database for validity.
it may also be prefaced by the neighboring field
example
field1 field2
a b allowed
c d allowed
a d not allowed
My first instinct is to try the rowvalidating event
but since all the domain operations are asynchronous
i cannot block the event.
i guess i could cancel it
And try to end the edit again when the validation call returns.
i cannot draw all the possible records to the client so i am forced to
Make the lookup after they edit the row and not provide a dropdown.
any advise, ideas
or is this a pipe dream
thanks
dco
I suspect the answer is hell no.
Is there any provision or functionality in the grid that allows for
row validation or cell validation
against a domain data source query operation.
heres the first scenario.
A person enters inline the contents of a number of fields in a single row.
one of the fields is freeform and anything can be entered.
this need to be validated against the database for validity.
it may also be prefaced by the neighboring field
example
field1 field2
a b allowed
c d allowed
a d not allowed
My first instinct is to try the rowvalidating event
but since all the domain operations are asynchronous
i cannot block the event.
i guess i could cancel it
And try to end the edit again when the validation call returns.
i cannot draw all the possible records to the client so i am forced to
Make the lookup after they edit the row and not provide a dropdown.
any advise, ideas
or is this a pipe dream
thanks
dco