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
395
Checkbox in header on level 2 (in hierachical grid)
posted

Hello guys,

I am using code from example on "

Knowledge Base Article: KB04883

HOWTO:How do I add a CheckBox to a WinGrid column header?

"

and able to add a checkbox into header. I also attached click event to that checkbox which un/checks all child rows.

The problem is when I try to use header checkbox in a hierachical grid, say level 2, the click event doesn't work properly. Once I click a checkbox in header on level 2, all checkboxes on level 2 are checked. It seems the header for certain level is one same object for all.

Any idea on this issue?

Thanks,

Elton

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Elton,

    The latest version of the grid (v9.1) has header checkboxes built-in, so you don't need to mess around with CreationFilters any more.

Children
No Data