error on IE8 for grid component

Hi,
I am working on DHTMLXGRID. it is working on Firefox but getting run time exception on IE8.

The exception is: unknown run-time error (dhtmlxgrid.js) line 255 char 37.

Any help will be appreciated.

Thannks
Bhanu

This issue wasn’t reproduce locally. Please check example here dhtmlx.com/docs/products/dht … _grid.html

Hi,

Its the same as in the link given by you.

Please find my code here


This code is working on firefox, google chrome not in IE8.

Thanks
Bhanu

Explore is more strict in styling syntax, you have

mygrid.setColAlign(“left, center”);

while correct code is

mygrid.setColAlign(“left,center”);

Unnecessary whitespace will generated an error in IE

Hello,

Any help will be highly appreciated…as i am stuck with this issue on IE8.

Thanks
Bhanu

i removed the white space and still have the same issue.

Check the attached sample - it uses same init ( except of data loading ) and works correctly for IE8
1278946467.zip (103 KB)

Hi,
Thanks for the reply.

The error occurs on data loading only. i checked with your xml file also and getting the same issue on data loading.

I am trying to load xml data into the screen.

Thanks
Bhanu

Hi,
The issue got resolved.

i am using struts component along with the dhtmlx component.

What i did was, i put struts component inside separate

tag. and suddenly started works.

i still don’t understand why its not working with struts if there is no

tag around.
its surprise to me.

Thanks for all you help.
Bhanu