AutoResize GridView Columns' width according to their contents
开发者_开发知识库Is there is any way to autoresize gridview columns according to their data?
Yes, there is.
Set AutoSizeMode property of the column to AllCells.
Use the ItemStyle-Warp to False int the property list:
精彩评论