你想根据哪一列的内容调整行高?或者你改成,afterEdit
Dim t As Table = e.TableDim cname As String = e.Col.nameDim lc As Integer = t.cols(cname).index+1Dim br As Integer = e.Row.index+t.HeaderRowst.grid.AutoSizeRows(0, lc, br, lc, 0, 0)