Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Hughes on Sep 06, 2007 00:40
open dhtmlx forum
Tree column can't be multiline?

Hello-- I have my treegrid set to allow multiline, and all columns seem to allow this except the first one, where I have the tree controls. Is there something special I should do to allow that one to also be multiline?
Answer posted by Stanislav on Sep 06, 2007 16:02
This blocked by hardcoded syles, you can update dhtmlxTreeGrid.js to allow multiline, but it may cause some visual problems


dhtmlxTreeGrid.js, line 412
_tgc.start="<div style=' overflow:hidden; white-space : nowrap; height:"+(_isIE?20:18)+"px;'>";

just remove marked part of code line