Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Egveny on Apr 02, 2008 07:52
open dhtmlx forum
I have cell in the grid included long text - 5-6 rows of text;

I have cell in the grid included long text - 5-6 rows of text;
How I can make so all text I see in the cell but not only part of that text?
ffor now I see only that text that fit in the visible part of the cell.
I tried make div with some height and width and include my text in that grid(cell type=ro)
but I receive something like:
<div title='My long text'><div>
it is not working
Answer posted by Support on Apr 02, 2008 08:12
You can switch grid to multiline mode , so the height of row will be defined by the height of the content ( please beware that it will not work for grid in srnd mode )

    grid.enableMultiline(true)
Answer posted by Evgeny on Apr 02, 2008 08:41
it is not work, can you show sample?
what is srnd mode?
I loading grid from html table, how I can set in the cell html taht I want?
please give some approach or workaround


Answer posted by Support on Apr 02, 2008 08:59
>>I loading grid from html table, how I can set in the cell html taht I want?
It can be done by using multiline mode, in case of loading from HTML table , command need to be called before data loading - please check attached sample

>>what is srnd mode?
SmartRendering mode
Attachments (1)
sample.zip678.00 B