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
605
Grid custom header
posted

I need to use custom header which contain (CheckBox,TextView) when check the check box on Header  all rows should be checked and vise versa

how i can implement this , i can do custom column which has check box all i need custom header and select action to affect on all rows

  • 34510
    Verified Answer
    Offline posted

    Hi ueldeep,

    I have attached a sample that demonstrates how to provide your own custom content to the Android grid column header.  The idea here is that you need to create your own column definition class and override the getHeaderCell method.  Inside this method you would create your own custom cell and in turn, this cell would create the content needed to display.

    GridCustomColumnHeader.zip