ASPxGridView 批量删除或者批量更改
作者:admin 日期:2013-12-12
Step1.在标题栏上加checkbox,实出全选功能
点击AspxGridView的columns,你可以直接选择增加一行Command Column或者随便选择一种然后点击Change To Commadn Column;默认的ShowSelectCheckBOx是true,
复制内容到剪贴板 程序代码
<dx:GridViewCommandColumn Caption="选择" ShowSelectCheckbox="True" VisibleIndex="0" Width="30px">
<ClearFilterButton Visible="True">
</ClearFilterButton>
<HeaderTemplate>
<dx:ASPxCheckBox ID="ckSelectAll" runat="server" ClientSideEvents-CheckedChanged="function(s,e){ctl00_ContentPlaceHolder1_gdvList.SelectAllRowsOnPage(s.GetChecked());}">
</dx:ASPxCheckBox>
</HeaderTemplate>