Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sanju Thomas on Jul 20, 2009 11:31
open dhtmlx forum
does dhtmlXGridObject support multilne text ?

does dhtmlXGridObject support multilne text ?
Answer posted by dhxSupport on Jul 21, 2009 09:36
Answer posted by Sanju Thomas on Jul 21, 2009 10:21

Does it support multi line in a column where the column type is tree ? some where I saw its not supports it.

If not.. I think I can split the gird in to two.

1. Tree column as one part

2. Rest are second part

In my case the tree column is the first column.. I tried with splitAt(1), but did not work for some reason.

if you have some sample code for split with all imports please send it me.

sanju.thonas@gs.com

 

Answer posted by dhxSupport on Jul 22, 2009 02:41
Yes, "tree" cells doesn't work with multi line mode. But you can insert any html inside "tree" cell:
<cell type="tree"><![CDATA[<div>One text</div><div>Another text</div>]]></cell>

>>In my case the tree column is the first column.. I tried with splitAt(1), but did not work for some reason.
Please check if you have attached dhtmlxgrid_splt.js file from the dhtmlxGrid package. Please find example here http://dhtmlx.com/docs/products/dhtmlxTreeGrid/samples/split/treeGrid_split.htm
Answer posted by Sanju Thomas on Jul 22, 2009 02:47
is it possible to bring the botom scrol bar on the left side of the split ?
Answer posted by dhxSupport on Jul 22, 2009 06:28
If grid's container width is no enough to display all grid's columns, horizontal scrolls bar will appear at the both parts of splitted grid.