DhtmlxGrid in xml with #cspan

Hello, I have a question on the use of xml-structures dhtmlxgrid.



In order to combine two columns in the grid, I use the following code:

// table    

    …

    mygridgeonim.setHeader(" ,<?php echo __d('addreg','Строения',true); ?>,#cspan,<?php echo __d('addreg','Тип геонима',true); ?>,<?php echo __d('addreg','Наименование геонима',true); ?>");

    mygridgeonim.setInitWidthsP(“5,5,5,20,65”);

    mygridgeonim.setColAlign(“center,center,left,left,left”);

    mygridgeonim.setColTypes(“ra,img,int,ro,ro”);

    mygridgeonim.setColSorting(“na,na,int,str,str”);

    mygridgeonim.init();    





This can be done in determining the structure of a document of xml? (

This may be so?







#



#cspan <-------------------------- here

Type

Name





    %





<row id=‘1’’>

12

img/csh/parentFolder.gif^ok’^javascript:Go()^_self





London







Yes, this is correct xml structure. #cpan command in the tag will merge current column with left column.

Domo arigato! :slight_smile: