Hi Neil,

On 22/04/2010, Neil Webb <[email protected]> wrote:

[...]
> So in a nutshell I guess I'm saying, what's the preferred way of validating
> an itemRenderer, when the validation of that renderer depends on properties
> of all the itemRenderers in that column?

Why don't you validate at least at the grid level, or even outside the grid,
instead of the renderer level?  Subscribe to the itemEditEnd, ... validate
when you hear that event and, because you'd have  the renderer there from the
event, you could show the validation results on it, maybe even cancel the
change, etc.

That event packs info about column indices, etc. so you can do your maths.

hth,
Gabriel

-- 
gabriel montagné láscaris comneno
http://rojored.com
+44 (0) 7500 709 209

Reply via email to