Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Saurabh Malviya on Jan 21, 2010 07:57
open dhtmlx forum
Colspaned cells information

Hi,
a) Is there a way to get all the cells that are merged with there adjacent cells in a grid?
I am looking for something like serializeToCSV() which will give me complete information
about the cells that have colSpan more than 1, along with colSpan value for each.
Right now I have to iterate the grid for number of rows multiplied by number of columns
so that I can check the colSpan on each cell. Any solution better than this will do.

b) Can the setCSVDelimiter() accept delimiter which is some kind of string pattern instead of
single character( suggested in API list)?


Thanks


Answer posted by Alex (support) on Jan 22, 2010 07:55

Hello,

serialize method, that serializes grid to xml string, sets colspan attribute.

>> I am looking for something like serializeToCSV() ...Any solution better than this will do.

there isn't any better solution if you want to get the result similar to serializeToCSV

>> an the setCSVDelimiter() accept delimiter which is some kind of string pattern instead of single character( suggested in API list)?

Unfortunately it doesn't support patterns. You can define only one or  several characters that will be used as a delimiter.