:: Forum >>

how to do this text wrapping, so the text fits the cell perfectly?

Hi,

when I resize the grid or change my fontsize in the browser, the text in the affected cells are adjusted to fit. For example, "very long caption of a collumn" might be rendered as "very long caption o..." if it doesn't fit the cell.

How do you do this? Because this is exactly what I want for something else as well.

Thanks in advance!
Yereth
Yereth
Wednesday, August 31, 2005
I believe you are looking for 'text-overflow: ellipsis' attribute (CSS).

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/textoverflow.asp

It works in IE and Safari, not Firefox.
Alex (ActiveWidgets)
Wednesday, August 31, 2005

This topic is archived.


Back to support forum

Forum search