Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mike Vonder Haar on Sep 22, 2009 08:16
open dhtmlx forum
Float Images to Right Side of Cell

I'm using dhtmlxTreeGrid and want to dsiplay within a cell, text on the left and two images on the right. When I use the following code the images display on the right but are displayed below the text but I can only see the tops of the images. I want the images to display on the same line as the text not below.

<cell><![CDATA[<img style="float:right;" src="../../img/icon/icon_delete.gif"><img style="float:right;" src="../../img/icon/icon_add.gif"><a href="#">Sample Venue 1</a>]]></cell>

Any help would be appreciated.

Thank you!
Answer posted by dhxSupport on Sep 23, 2009 02:46

Try to switch on multi line mode:

mygrid.enableMultiline(true)