Infragistics UnboundCheckBoxField
Infragistics WebDataGrid重新绑定数据时,All Selection不听使换:
设置:UnboundCheckBoxField HeaderCheckBoxMode="TriState"
cs添加:
((Infragistics.Web.UI.GridControls.UnboundCheckBoxField)this.wdgOrder.Columns["chkSelect"]).HeaderChecked = false;
Html:
<ig:UnboundCheckBoxField HeaderChecked="False" HeaderCheckBoxMode="TriState" Key="chkSelect" Width="15">
Code Behind:
this.wdgOrder.ClearDataSource();
this.wdgOrder.DataSource = ds.Tables[0].DefaultView;
((Infragistics.Web.UI.GridControls.UnboundCheckBoxField)this.wdgOrder.Columns["chkSelect"]).HeaderChecked = false;
posted on 2012-09-28 14:54 elvis blogs 阅读(429) 评论(1) 编辑 收藏 举报