I’m working on an application that needs to save xml structure of a grid with changes from user side like adding/deleting rows, switching position of the columns, changing values in a cell. We are using dhtmlx Suite Pro v.3.5 build 120822.
XML file that I use to display the grid looks like this:
[code]<?xml version="1.0" encoding="UTF-8" standalone="no"?>
When I use grid.serialize() function I get this xml back:
<?xml version="1.0"?>
<rows>
<row id='1'>
<cell>A Time to Kill</cell>
<cell>3</cell>
<cell>14/03/2014</cell>
<cell>0</cell>
<cell>21.99</cell>
<cell>only 3 left!</cell>
</row>
<row id='2'>
<cell>The Green Mile</cell>
<cell>2</cell>
<cell>18/03/2014</cell>
<cell>1</cell>
<cell>18.45</cell>
<cell>Bestseller</cell>
</row>
</rows>
Questions:
- How can I get complete xml structure, meaning with a header?
- Why my predefined cell attributes like ‘column_id’ were not included? Should I include them manually?
- From this this topic I understood that after drag-and-drop all custom cells attributes disapear. Will it be a case for me if my custom attributes are predefined?
- And the question not really related to a topic: what should we do to be able to see the grid in IE11? It shows correct number of columns and rows but blank.
Thanks!