Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sunil kumar s on Apr 22, 2008 00:52
open dhtmlx forum
how to serialize header information

I am building the grid dynamically, even the header are sent over the load xml

like,

<?xml version="1.0" encoding="UTF-8"?>
<rows>
    <head>
        <column id="column1" width="20" type="tree" align="left">column 1</column>
        <column id="column1" width="15" type="edn" align="right" format="0,000.00">column 2</column>
        <settings>
            <colwidth>%</colwidth>
        </settings>
    </head>
    <row id="5694" open="1">
        <cell>abc</cell>
        <cell>def</cell>
    </row>
</rows>

number of columns are dynamic,

when i serialize i get only

        <cell>abc</cell>
        <cell>def</cell>

i need header information also, please advice.
Answer posted by Support on Apr 22, 2008 01:51
Serialization of grid configuration can be enabled

    grid.setSerializationLevel(false,false,true)