I am using the Infragistics.Win.UltraWinGrid.UltraGrid in a .NET 2.0 Windows Form, and I have the first column displaying as a checkbox to allow the user to select rows by checking the box. Is there any way I could get the checkbox column to also display a checkbox in the column header, so that I could provide "Select All" functionality for all the rows in the grid?
I am using NetAdvantage for .NET 2008 Vol. 2 CLR 2.0
John
Hello,
A possible approach to achieve this might be by using the following code:
Me.UltraGrid1.DisplayLayout.Bands(0).Columns("column name").Header.CheckBoxVisibility = HeaderCheckBoxVisibility.WhenUsingCheckEditor
if u need more help please contact me at below link
http://ahmadkhalid44.blogspot.com/
Regards:
Ahmad Khalid
Software Engineer
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=4883
http://forums.infragistics.com/forums/p/10250/39257.aspx#39257