Problem with headers in xml file


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:

<column width="25" type="link" align="left"></column>
<column width="25" type="ro" align="left">Liste d'abonnes</column>
<row id="0">
<cell>Emise manuellement</cell>

If someone has the same problem…


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

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