Hello Bhadesh,
since I needed a solutation I made the work to debug your whole BLOCKED SCRIPT
You are basically lazyLoading the rows, which means you are loading the dom structure, but not the needed attributes (cell, adr, etc.) nor the objects behind (._object, etc.)
BUT you are loading them on the first row, no idea why…
So there is no timing problem, but you register a mouseover event to set this values after someone moved over a cell.
So I took a td on the needed row, setted the .target to itself and fired the mosueover, of the rows-collection. This made the grid to set the needed objects –> No timing problem, no javascript problem, just special webdatagrid behavior.
For me, the problem is kinda solved, but I request two things:
- DOCUMENT THIS BEHAVIOR, everybody who wants to enter the edit mode programmatically will run into a deep sea of problems, like I did.
- Make it possible to set the edit mode programatically: All you need is a cell in the row OR the tr itself, then you can keep the lazy loading stuff, but load this row and enter the edit mode!
Ofc this are just suggestions base on the experience of the last weeks.