I’m using an Infragistics grid on a form and am handling multiple client-side events on the cells (e.g. cell click, before cell edit, before cell update, etc).
On the cell click event, I’m spawning a secondary window (successfully) as follows:
var convChartWindow = window.open("conversioncharts/" + currentCell.getValue() + ".html", "chart", "location=0,0, status=1, scrollbars=1, width=" + screen.width + ", height=175"); convChartWindow.focus();
Is there a something I can put after the
i dont know what infragistics is. ill assume its some framework over which you have no control. if i were you i would try the following:
1) set a timeout to take focus back to the window after 1000 ms, or set a timeout loop to set focus to the window you need. this is a hack.
2) figure out what functions fire the events that ruin your life, override those functions in your code and add a flag that will prevent them from doing something evil
3) last, atleast read this:
there might be something useful for you in there
Answered By – mkoryak
Answer Checked By – Mary Flores (BugsFixing Volunteer)