This is a migrated thread and some comments may be shown as answers.

With IE, a XML datasource with space values show 'undefined'

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thierry
Top achievements
Rank 1
Thierry asked on 16 Mar 2012, 05:34 PM
Hello,
I use a Grid with a XML datasource. When some elements in the xml are ' ' instead of strings, the corresponding cell shows 'undefined' with IE. The same site with Firefox shows the space character.
Is there a workaround in the grid definition or in the XML ?
Regards

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 19 Mar 2012, 05:23 PM
Hi Thierry,

This may be caused by the fact that the IE will ignore the spaces when the XML DOM is constructed. You may try to set xml:space="preserve" to the node in which you have only spaces. 

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Thierry
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or