DataGrid, how to show multiline content in its cells?

66 views
Skip to first unread message

tong123123

unread,
Dec 30, 2012, 9:59:48 PM12/30/12
to google-we...@googlegroups.com
I use DataGrid, and I found if the content is very long (with space), the exceeding text is truncated, but i want the text can be wrapped to the next line, any method?

tong123123

unread,
Dec 30, 2012, 10:31:41 PM12/30/12
to google-we...@googlegroups.com
Ok, I found remove
white-space:nowrap;
then it can show multiline.

but I found something unknown, if I use
white-space:nowrap;
overflow:hidden;
test-overflow:ellipsis;
I expect the overflow text will show as ellipsis, but not, the overflow text is just truncated!!

Andrei

unread,
Dec 31, 2012, 10:15:10 AM12/31/12
to google-we...@googlegroups.com
It should be "text-overflow", not "test-overflow".
Reply all
Reply to author
Forward
0 new messages