Categories | Question details Back To List | ||
How can I use colspan on column header when loading grid column headers and data from XML.
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. <rows> <row id="1001">
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 <cell>HISTORY^javascript:alert("history"); UPDATE^javascript:alert("update");</cell>
Answer posted by dhxSupport on Dec 07, 2009 01:40 To merge 2 cells in the header you should use: <column width="10" type="link" align="left" sort="str" >Action</column> <column width="10">#cspan</column> To merge cells in the rows you should use "cspan" cell's attribute. Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:cells_manipulation#merging_cells Answer posted by dhxSupport on Dec 07, 2009 01:41 >>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 http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:toc_custom_excell_creation Answer posted by DJay on Dec 07, 2009 07:11 Thank You. |