I searched for Autosizing of cell but found Auto-size row and column how can I make particular cell autosize (in terms of height since column width will be fixed)according to data size of that particular cell? can it be done using some property of datagridview?
How to Auto-size cell in datagridview according to data size
231704-Sep-2013
Sumit Kesarwani
04-Sep-2013You can handle it through properties of DataGridView, Set the following properties. Setting follwing properties will allow the cell to expand (Vertically or horizontally) to show the full content without any truncation. These cell size expansion will result in either row or column size change where the cell exisit.
AutoSizeRowsMode = AllCells
AutoSizeColumnsMode = DisplayedCells