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
2765
Wingrid - Header Checkbox issue
posted

Hi,

 

I am using wingrid’s new feature that allow to check all the rows with the header click. I have noticed one thing that whenever I want to uncheck all the rows, I have to uncheck  header check box twice in order to remove the selection from header however all the rows are getting unchecked with single click. Is this bug or I am missing nay property. Below is the code which I am using in InitilizeLayout () function:

 

 

 

I have also attached sample attachment.

 

Thanks,

 

With e.Layout

 

If .Bands(0).Columns.Exists("Select") Then

.Bands(0).Columns.Remove(

"Select")

 

End If

.Bands(0).Columns.Add(

"Select", "")

.Bands(0).Columns(

"Select").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox

.Bands(0).Columns(

"Select").Header.CheckBoxVisibility = Infragistics.Win.UltraWinGrid.HeaderCheckBoxVisibility.WhenUsingCheckEditor

.Bands(0).Columns(

"Select").Header.CheckBoxAlignment = Infragistics.Win.UltraWinGrid.HeaderCheckBoxAlignment.Center

.Bands(0).Columns(

"Select").Header.CheckBoxSynchronization = Infragistics.Win.UltraWinGrid.HeaderCheckBoxSynchronization.Default

 

End With