Row height issue?


When I manually add an value to a cell (“The dog is in the rain today”) for example, the cell does not seem to be resizing correctly. All of the cells have a fixed width on the grid it seems unless I programatically change it. It there something that I am missing here.



You may set row height or column width like this:

using System.Web.UI.WebControls;


GridWeb1.WebWorksheets[0].Cells.SetRowHeight(2, new Unit(40, UnitType.Point));

GridWeb1.WebWorksheets[0].Cells.SetColumnWidth(3, new Unit(120, UnitType.Point));


When input a value to a cell, the cell's width or height don't resize automatic. To change the row height or column width, you can drag and drop the row header or column header, or programatically change it.

We will support this feature in future.