How can I use colspan on column header when loading grid col


How can I use colspan on column header when loading grid column header and data from XML.



I am trying something like below, but does not seems to work.




 
  Wire Code
  Org. Name
  
  Status **
   IN USE
      AVAILABLE
   CLEANSING
      RESTRICTED (DO NOT USE)
       
        <column width=“20” format="%m/%d/%Y" type=“dhxCalendar” align=“left” sort=“str”  >Effective Date **
        <column width=“10” type=“link” align=“left” sort=“str” colspan=“2” >Action
       
  
  
            %
       
       
   



  
  KB
  Manchester, NH
  IN USE
  05/01/1998
  History ^javascript:alert(“history”);
  Update
 
 
  AY
  ADMIN DIVISION
  IN USE
  01/01/2000
  History ^javascript:alert(“history”);^_self;
  Update
 
 



 



Also is there a way so that I can call more than one javascript functions on different texts in cells?



e.g. something like below



HISTORY^javascript:alert(“history”);   UPDATE^javascript:alert(“update”);</cell>
 




 



 

To merge 2 cells in the header you should use:

Action
#cspan

To merge cells in the rows you should use “cspan” cell’s attribute. Please find more information here dhtmlx.com/dhxdocs/doku.php?id=d … ging_cells

Also is there a way so that I can call more than one javascript functions on different texts in cells?
It’s impossible to do with “link” eXcell type. You can create custom eXcell type dhtmlx.com/dhxdocs/doku.php?id=d … l_creation

Thank You.