Hi Hristo,
I look your example and it seems you are delaying for 2 seconds before actually doing what you want to do.
I guess is a good trick, but I was wondering what is going on and why I have this error.
In a way you are doing a confirmation of what I was thinking, it seems that something is going on with
the grid and that is the reason why I am getting the error. The delay serves to wait until the grid finishes.
Thank you for dedicating time to answer my question.