Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Klaus Kohlschuetter on Dec 17, 2008 03:01
open dhtmlx forum
Combining cells in a grid

Hi,

I have th following problem with a grid combining two cells. The cell type of both cells is "ron". Combining of the cells works fine, but I want to write a string in these combined cells -> result is NaN. Is there a opportunity 1. to avoid NaN and to get a string, 2. what happens in case of footer with the sum calculation in these columns?

Kind regards,
Klaus Kohlschuetter
Answer posted by Support on Dec 17, 2008 03:34
>>I want to write a string in these combined cells
The column types edn and ron purposed for numbers only, they using number formating against incoming values, which will result in NaN output for non-numerical values. 
You can redefine type for cell in question, so it will not apply formatting ( <cell type="ro" ... ) 

>>what happens in case of footer with the sum calculation in these columns?
The sum calculation will use value of colspaned cell for both columns, if value is not numerical - it will be ignored.