Click here to Skip to main content
15,031,725 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Dear Friends,

I am facing a problem while wrapping the text in grid rows. I have done all the changes that are required to wrap a ROW CELL data but still i am getting rows that are not wrapped at all :( . If any one could let me know which property of the grid to set in order to get wrapped data, I would be grateful to that person.


Varun Sareen
Software Developer

1 solution

use <ItemStyle Wrap="true" /> ...............u can use textarea...........u can use e.Row.Cells[4].Attributes.Add("style", "WORD-BREAK:BREAK-ALL") for the cell u want to format.................otherwise u can also try to make wrap prperty true dynamically............. :-D :-D :-D
Varun Sareen 19-Aug-10 5:11am
Reason for my vote of 1
I want a specific answer to my question, a property that is to be true in order to make the row cell in wrap mode.
Varun Sareen 19-Aug-10 11:33am
Reason for my vote of 1
I found the answer myself.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900