public void TestColumnEdit() { var column = new DataGridColumn(); column.Edit(); _grid.Columns(column); var result = new Str(); result.Add("<table class=\"easyui-etreegrid\">"); result.Add("<thead><tr>"); result.Add(column.ToHtmlString()); result.Add("</tr></thead>"); result.Add("</table>"); Assert.AreEqual(result.ToString(), _grid.ToHtmlString()); }