Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Nov 10, 2008 04:46
open dhtmlx forum
DHX Grid: Vertical Alignment of the text

Hi there,
How to vertically align the content of the grid ?

Image Link: http://img357.imageshack.us/my.php?image=gridverticalalignissuebc2.jpg
Answer posted by Support on Nov 10, 2008 07:58
setColVAlign is mapped to valign property of related cell and can be used in same way
Also, you can use cell@style or cell@class attribute in XML and assign any necessary styles to the cell. 


The situation on screenshoot is not a bug - it is normal HTML behavior, when container, with valign defined, contains an image and text