Infragistics.WebUI.UltraWebGrid.TemplatedColumn tc =(Infragistics.WebUI.UltraWebGrid.TemplatedColumn)UltraWebGrid1.Rows[行索引号].Cells.FromKey("模板列key").Column;
Infragistics.WebUI.UltraWebGrid.CellItem ci = (Infragistics.WebUI.UltraWebGrid.CellItem)tc.CellItems[行索引号];
控件类名 _control = (控件类名)ci.FindControl("模板列内的控件ID");
然后对_control 进行操作即可
客户端:
先取得单元格对象cell
cell.getElement().children[i].checked = true; //模板列的复选框CheckBox控件
cell.getElement().children[i].value="测试"; //文本TextBox控件
i:模板列内的控件索引号,从0开始,0代表第一个,1代表第二个,依次类推
浙公网安备 33010602011771号