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
648
UltraGrid Checkbox in Header
posted

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

  • 280
    posted

    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

  • 1775
    posted

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

     http://forums.infragistics.com/forums/p/10250/39257.aspx#39257