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
170
select All checkBox at a time
posted

I am using <igtbl:UltraGridColumn>

Now, I want to know how to select all rows at a time using a header checkbox.

Please do needful ASAP.

Parents
No Data
Reply
  • 15320
    Suggested Answer
    Offline posted

    Hello Moulika,

    Thank you for posting in our community.

    Here is a link from our documentation that explains step by step how to add a template column in the UltraWebGrid:

    http://help.infragistics.com/Doc/ASPNET/2011.1/CLR4.0/?page=WebGrid_Using_Column_Templates.html

    Then if you want to make all rows selected using header checkbox template, you may handle the click event of the checkbox control and use the client-side API of UltraWebGrid to make all rows selected as shown here:http://help.infragistics.com/Help/Doc/ASPNET/2011.1/CLR4.0/html/WebGrid_Select_a_Row_on_the_Client_Side.html

    Please note also that "SelectTypeRowDefault" property should be set to "Extended" in order multiple row selection.

    I'm attaching you a sample with similar scenario for your reference.

    Please let me know if you have any further questions.

    Sincerely,

    Tsanna

    UWGSelectRowsThroughHeaderCheckbox.zip
Children
No Data