I had some strange problems with Valid even and When in the past.
I found this
Re: Validation in Grid Thread #
706402 though not sure how helpful.
>>>I always though the When() will get control when you click on the object or object get control.
>>>
>>>Does the grid has a different behavior?
>>>For example, the first time I click in a grid, let say column 3. the when() of column 2 get fired.
>>>is that weird behavior? or it is by design? or it is me?
>>
>>The grid columns don't have WHEN() event. Can you clarify what the problem is?
>
>Ooops, I meant an object in the column, say textbox.
>
>to repeat the behavior I am talking about:
>
>create a form
>drop a textbox on the form (must be first to get focus or set the tabindex to be before the grid)
>drop a grid on the form (such as dropping table on the form)
>add a when() code in the first column's object (textbox,...) for example, wait window ""
>
>run the form, the textbox will get focus
>click in the grid, any column other than the first column, the one with the When() code and see if the when will fires. It will happens the first time only. Repeated click will not show this behavior.
>
>Thanks
If it's not broken, fix it until it is.
My Blog