Categories | Question details Back To List | ||||||||
dhtmlgrid - FF vs IE Hi, I have several problems with using the gridtable and would appreciate any help. I am sending html table to the browser and attempting to use the dhtmlXGridFromTable function. The skin works fine on firefox - but on IE it only displays the modern skin. Here's a snippet of my table and the script I am calling... Any ideas? Thanks, Tushar <div> <table gridheight="300" lightnavigation="true" id="paymentsGrid" imgpath="../../dhtmlxGrid/codebase/imgs/"> <tr> <th>Column1</th> <th>Column2</th> <th>Column3</th> <th>Column4</th> </tr> <tr> <td>Value1</td> <td>Value2</td> <td>Value3</td> <td>Value4</td> </tr> </table> <script type="text/javascript"> /*<![CDATA[*/var mygrid = new dhtmlXGridFromTable("paymentsGrid"); mygrid.enableAutoWidth(true); mygrid.enableAutoHeight(true); mygrid.setSizes(); mygrid.setSkin("modern");/*]]>*/ </script> </div> Answer posted by Support on Sep 30, 2008 07:29 The code which you are using is correct >>but on IE it only displays the modern skin Please be sure that imgs folder contains all the data from package. Also, beware, that css file has some relative links to images, so if position of css file changed, it need to be adjusted Working sample attached. Attachments (1)
|