c# - How to Auto-size cell in datagridview according to data size -
i searched autosizing of cell found auto-size row , column how can make particular cell autosize (in terms of height since column width fixed)according data size of particular cell? can done using property of datagridview?
this line of code make cell auto-size vertically
depending on data loaded
datagridview1.defaultcellstyle.wrapmode = datagridviewtristate.true;
Comments
Post a Comment