Question : (vb.net) How to wordwrap a cell in a datagrid

How is it possible to wordwrap a cell in or an entire group of cells in a column in a databrid for a vb.net app ???

Any help on this matter would be greatly appreciated.

Answer : (vb.net) How to wordwrap a cell in a datagrid

One way you can do this is to use reflection to access the DataGrid internal row objects which are not publicly exposed. This solution was suggested by Matthew Benedict in a private communication.

http://www.syncfusion.com/faq/winforms/Files/DataGridRowHeights.zip. The sample provides a class that you can instantiate by passing a DataGrid, creating a rowHeights object. Once you create this object, you can use an indexer on the object to set and get the rowheights.


try this one
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=27c9c0d.0305191330.7ed3e709%40posting.google.com

but i don't know if it woks for win forms
Random Solutions  
 
programming4us programming4us