Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1320
WebDataGrid, CheckBox in header to select all rows
posted

Hello

I have a BoundCheckBoxField in my WebDataGrid; How to added a checkBox in WebDataGrid header's to select all rows ?

BoundCheckBoxField ckbField = new BoundCheckBoxField(true);

ckbField.Key =

 

 

"ckbField";

ckbField.DataFieldName =

 

"ckbField";

ckbField.DataType =

 

"System.Boolean";

 

 

WebDataGrid1.Columns.Add(boundField);