Is there a method of assigning a columns colspan within the XML configuration definitions. I am creating a page where the grid headers and content are dynamically selected dependant on various database attributes. It is important that I am able to configure the grid through XML ‘on the fly’ and need the ability for two headers where the second includes a ‘Before’ and ‘After’ heading.
Colspans in both headers and data can be defined in XML
In case of headers it done through special column label
dhtmlx.com/docs/products/dht … 3708485000
Thank you for your response, however the links provided do not appear to answer my question. I wish to perform the equivalent of:
grid.setHeader(“A,#cspan,#cspan”)
grid.attachHeader(“A1,B1,#cspan”)
grid.attachHeader("#rspan,B2,C2")
but in the XML configuration. The XML example provided does not explain the #cspan of ‘A’
It will look as
A
#cspan
#cspan
A1,B1,#cspan
#rspan,B2,C2
setHeader mapped to rows/head/column tags
attachHeader executed from XML through head/afterInit/call tag ( basically any other grid related command can be executed in same way )