Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on May 29, 2007 07:21
open dhtmlx forum
Grid table based on responseXML object is working in IE but not in Mozilla Firefox

Hi support,

Thanks for the reply to my problem as I said the grid table is working in IE but still not working in Mozilla Firefox (2.0.0.3) moreover when I try in my local web server it doesn't show any error/warnings/problems while loading the page.

As you've mentioned in your response I've checked my XML format and now it is in the following format:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<rows>
    <head>
        <column width="60" type="ed" align="center" color="#d5f1ff" sort="str">ID</column>
        <column width="270" type="txt" align="left" color="#d5f1ff" sort="str">Summary</column>
        <column width="70" type="edtxt" align="center" color="#d5f1ff" sort="str">Opened</column>
        <column width="70" type="edtxt" align="center" sort="str">Closed</column>

        <column width="100" type="co" align="center" sort="str">Status
            <option value="1">In Progress</option>
            <option value="2">Put On Hold</option>
            <option value="3">Not Yet Started</option>
            <option value="4">Done</option>
            <option value="5">-</option>
        </column>

        <column width="75" type="co" align="center" sort="str">Priority
            <option value="1">Normal</option>
            <option value="2">Low</option>
            <option value="3">High</option>
        </column>
        <column width="110" type="ed" align="center" sort="str">AssignedTo</column>
        <column width="110" type="ed" align="center" sort="str">SubmittedBy</column>

        <settings>
            <colwidth>px</colwidth>
        </settings>
    </head>
     <row id="1">
        <cell>000001</cell>
        <cell>Bugs on test01</cell>
        <cell>05/01/1998</cell>
        <cell>15/03/2008</cell>
        <cell>1</cell>
        <cell>2</cell>
        <cell>Jones</cell>
        <cell>JayaPrakash</cell>

    </row>
     <row id="2">
        <cell>000002</cell>
        <cell>Bugs on test02</cell>
        <cell>25/01/1998</cell>
        <cell>5/09/2008</cell>
        <cell>2</cell>

        <cell>3</cell>
        <cell>Denis</cell>
        <cell>Jone</cell>
    </row>
     <row id="3">
        <cell>000003</cell>
        <cell> test02 on device xxxxx</cell>

        <cell>05/01/2008</cell>
        <cell>15/03/2016</cell>
        <cell>3</cell>
        <cell>1</cell>
        <cell>Denis</cell>
        <cell>JayaPrakash</cell>

    </row>
     <row id="4">
        <cell>000004</cell>
        <cell>Bugs on test01</cell>
        <cell>05/01/1998</cell>
        <cell>15/03/2008</cell>
        <cell>1</cell>

        <cell>2</cell>
        <cell>Jone</cell>
        <cell>JayaPrakash</cell>
    </row>
     <row id="5">
        <cell>000005</cell>
        <cell>Bugs on test01</cell>

        <cell>05/01/1998</cell>
        <cell>15/03/2008</cell>
        <cell>1</cell>
        <cell>2</cell>
        <cell>Jone</cell>
        <cell>JayaPrakash</cell>

    </row>

</rows>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If it the XML data is now well formed then I am sure that scand API used to show some kind of error message but I am not getting any error message and the page loads without any problem but without the grid table.

If you can provide a working example of a situation like me that would be very good for me (If you post such an example in your site it will do lot of good to developers who are dealing with these kind of problems).

I've opened the XML file with the above mentioned kind of element structure using Firefox and it is opening without any error and it means that there are no errors in the XML content and it is well formed.

Please provide your comment/suggestion about this problem consider this as an urgent matter.

Thanks & regards

Jayaprakash.
Answer posted on May 29, 2007 19:09
Please check attached sample, I used your xml and all works correctly in both IE and FF

The only thing which can be critical for FF is whitespaces before <?xml declaration, but it is not related to your case.
Also, it may be that your webserver send content with some other doctype ( not text/xml ), while it not common problem for FF, maybe it occurs in your case.
Attachments (1)
Answer posted by Embre (Support) on Nov 27, 2014 22:53

I hope this information will be enough for you. But you also can have a look at spreadsheet softwares and php dhtml.