Categories | Question details Back To List | ||||||||
unknown runtime error Hy I have the following XML structure to customize a grid: <?xml version="1.0"?> <rows> <head> <beforeInit> <call command="attachHeader"> <param><![CDATA[#text_filter,#text_filter,#text_filter,#text_search]]></param> </call> <call command="setSkin"> <param>light</param> </call> <call command="setDateFormat"> <param>%d.%m.%Y</param> </call> <call command="enableSmartRendering"> <param>false</param> </call> </beforeInit> <column id="vorname" type="ro" width="100" sort="str">Vorname</column> <column id="nachname" type="ro" width="100" sort="str" format="0.00">Nachname</column> <column id="gruppe" type="ro" width="85" sort="str" format="0.00">Gruppe</column> <column id="antwort" type="ro" width="70" sort="str" format="0.00">Antwort</column> </head> <row id="164"> <cell>asdf</cell> <cell>asdf</cell> <cell>Flugbegleiter</cell> <cell>abgesagt</cell> </row> <row id="135"> <cell>Max</cell> <cell>Power</cell> <cell>Flugbegleiter</cell> <cell>abgesagt</cell> </row> </rows> in Firefox all works fine, but in IE 7 i got a "unknown runtime error" . Here is my js: ---------------- mygrid = new dhtmlXGridObject('gridbox'); mygrid.imgURL = 'js/dhtmlxGrid/codebase/imgs/'; mygrid.loadXML("<?= getLink('getData') ?>"); Answer posted by Support on Jun 11, 2008 03:12 Which version of grid you are using? The sample of dhtmlxgrid 1.6 with the same code works correctly in both IE and FF ( attached ) In case of dhtmlxgrid 1.5 - enableSmartRendering must be defined in js code, it can't be executed from XML By the way, the "format" attribute which you are using in XML has sense for edn|ron columns only, and setDateFormat for dhxCalendar|dhxCalendarA columns only. It has not sense with existing column configuration. Attachments (1)
|