Well if we're getting theoretical, another possible (and actually very good) place for your data validation rules in in a cursoradapter. It has all the update control you could possibly want and - it's been some time - but doesn't a ca draw a grid if you drag it onto a form?

On 22/11/2013 22:40, MB Software Solutions General Account wrote:
On Thu, November 21, 2013 10:24 am, Richard Kaye wrote:
As long as we're getting all theoretical here, data validation should not
be handled by the grid object. The grid should be able to call out to an
object where you store your business rules. Then all your default control
valid method code can be is something like
<businessObject>.validateMe(this) and you can do something similar in the
before and after rowcolchange events for row level validations. You still
have to write all your business rules/validation code, of course, but
instead of having it embedded in individual controls in the grid it's all
in one place.

Now whether a grid is suitable as a data entry UI is another discussion
which starts to verge on the TABs vs spaces discussion.

--
rk

Here here!!!  +1


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to