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
365
Adding a Check Box to the column Header
posted

Hi,

i have added a dynamic check box column by using the following code.

 

 

Me

 

.gvUserManagment.DisplayLayout.Bands(0).Columns.Add("Delete", "Select")

 

 

Me.gvUserManagment.DisplayLayout.Bands(0).Columns("Delete").DataType = GetType(Boolean)

 

 

Me.gvUserManagment.DisplayLayout.Bands(0).Columns("Delete").Style = UltraWinGrid.ColumnStyle.CheckBox

now i want to add a checkbox to the column header.

could you please help me????

actually there is some code on the below link ,but i can't download or view it

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=4883

how to capture the column header checkbox event after adding the check box to the column header i.e

if we select the column header checkbox then all rows check boxes should be selected and vice-versa