you can look at validating onChange in your editors or maybe at editEnd is it? Either should have a handle to your editor so you can set the errorString. You will not have a handle on other editors at all to set errorStrings elsewhere. In fact, I suspect your validators will need to be part of your itemEditor component. Sounds painful really, I wouldn't use ADG for a complex form for sure, in fact I rarely if at all touch ADG, lucky me. Is there some reason to use ADG here in your use case?
Douglas Knudsen http://www.cubicleman.com this is my signature, like it? On Mon, Mar 30, 2009 at 6:28 PM, Atlanta Geek <[email protected]> wrote: > I have an AdvanceDataGrid that has a lot of inter-related columns. > So for example For every row column 1 must have a lower value than column > 2. > If these validations fail then I should not allow the committing of > data to the server. > Any suggestions on how best to do this. What event should trigger the > validations. I'd like to attach an errorString to one of the editors > when something fails validation. > > I thought about doing it when the user tries to commit but at that > point I have only data. How do I get to the original item editors to > mark the error in the errorstring. > > -- > http://www.atlantageek.com > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in > the subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > >
