Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alim Hassam on Aug 11, 2008 10:48
open dhtmlx forum
IE 6 crash

Hi,
I'm writing an application using dhtmlx grid. Everything works great in firefox, but crashes in IE 6. I tryed to write a small example to reproduce the problem.
I'm using the version 1.6 build 80319.
I'll attach a simple program to reproduce the issue.
-Alim
Answer posted on Aug 11, 2008 10:52
Try selecting in a region in this example with IE6.. it crashes.
-Alim
Attachments (1)
IE6 crash.zip100.33 Kb
Answer posted by Support on Aug 12, 2008 01:49
Just replace 
       mygrid._CreateSelection();
with 
       mygrid._CreateSelection(0,0);
it will work correctly in all browsers.
Answer posted by Alim Hassam on Aug 12, 2008 07:08
It still crashes. I even simplified the example and IE still dies with the following exmaple.
-Alim
Attachments (1)
Answer posted by Support on Aug 12, 2008 07:44
Please provide more info about used version of IE6 - the same sample works correctly in IE while tested from our side.
Answer posted by Alim Hassam on Aug 12, 2008 07:48
I'm using
IE 6.0.2900.2180.xpsp_sp2_qfe.07227-2300CO.
In the example after i select a region of the grid, if i try to select another region IE crashes.
-Alim

Answer posted by Alim Hassam on Aug 13, 2008 10:21
Were you able to reproduce this?
-Alim
Answer posted by Support on Aug 14, 2008 02:02
There was no any special errors in code, but you custom onBlockSelected event has a code for grid reset which can cause problematic loops ( the manual block selection will call related event as well.  )
After removing such unnecessary loop - all works as expected. 
Attachments (1)
Alim1.zip98.80 Kb
Answer posted by Alim Hassam on Aug 15, 2008 08:34
I removed the loop by adding a button, but i still get the crash in IE6.
I attached the new code.
-Alim
Attachments (1)
IE6Crash1.zip101.82 Kb
Answer posted by Support on Aug 15, 2008 08:47
The issue can't be reconstructed locally. 
It works correclty in all tested browsers. 
Are you using any special extensions in IE? this may cause an issue. 
Answer posted by Alim Hassam on Aug 15, 2008 12:27
It crashes when i click on the button, i don't know if you tried that.
I'll try on another machine to see if something is configured differently on my machine.
-Alim