Problem with headers in xml file

Hi,

I’ve some trouble when i load a grid from a xml file, when i put headers in my file it’s not possible to sort columns with the setColSorting method. And when I insert headers with dhtmlx method, it works fine.

here is my xml file:

<rows>
<head>
<column width="25" type="link" align="left"></column>
<column width="25" type="ro" align="left">Liste d'abonnes</column>
<settings><colwidth>%</colwidth></settings>
</head>
<row id="0">
<cell>2012/04/11_test_[493]^navigation.asp?ID_Obj=303926^_self</cell>
<cell>Z_Administrateur</cell>
<cell>Emise manuellement</cell>
<cell></cell>
<cell></cell>
<cell>test</cell>
<cell></cell>
</row>
</rows>

If someone has the same problem…

thanks

You need to define sort attribute, for columns which need to be made sortable

<column width=“25” type=“link” align=“left” sort=“str”>