Skip to content

Replies

0
Infragistics User
Infragistics User answered on Jul 5, 2013 8:11 AM

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.

0
Infragistics User
Infragistics User answered on Jul 2, 2013 10:12 AM

The task is still open and I need a solutation asap.

All I need to do is enter the editing mode after the page is loaded, I'm sure there is a possibility to do this?

0
Infragistics User
Infragistics User answered on Jun 20, 2013 11:47 AM

Hello Bhadres,

does not seem to work. From what I've seen the datagrid objects behind are not loaded.

This code crashes:

var row = jQuery(src).parents("tr[type='row']").get(0)._object;

It works perfectly fine when the user clicks on a button, but when I call this after the document.ready it doesnt work.

I made sure the search button is the same as the clicked one, which is the case.

Is there no possibility to identify if the datagrid finished loading everything?

0
Infragistics User
Infragistics User answered on Jun 19, 2013 7:36 AM

Hello Bhadresh

thanks for the hint, I'll check this out.