Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kakugou on Dec 24, 2009 21:42
open dhtmlx forum
how to set cell height

how to set cell height

I have a project to need to set cell can hold three lines of data at most
how should I set the height of the cell?
Answer posted by dhxSupport on Dec 28, 2009 01:58
You can use multi line mode:
mygrid.enableMultilin(true);
In such mode row height will automatically adjust depending on content of the cell.
Also you can insert any html into the cell:
<cell><![CDATA[<div>line one</div>
<div>line two</div>]]></cell>

Answer posted by kakugou on Jan 04, 2010 18:51
Thank you for your answer
According to your answer, my problem has already been solved.