From: Paul on
Hi,
How can I put a checkbox in the header of the datagridview?

Thanks
From: RayLopez99 on
On Feb 16, 12:02 pm, Paul <gambam...(a)yahoo.es> wrote:
> Hi,
> How can I put a checkbox in the header of the datagridview?
>
> Thanks

I've put a checkbox in a row, but never in a header, unless you are
dealing with XAML, rather than Forms, which then should not be too
hard to do, just experiment with it.

RL
From: Andy O'Neill on

"Paul" <gambamia2(a)yahoo.es> wrote in message
news:7308a1e2-e94f-4013-8740-3c7ab432e73d(a)z19g2000yqk.googlegroups.com...
> Hi,
> How can I put a checkbox in the header of the datagridview?
>
> Thanks

Windows, web, what datagridview?

With web it's an odd type of row and I think you can.
As the grid is created you can handle the row creation event.
Test for row type.
Whack it in the appropriate column.

From: vanderghast on
Capture the cell paint event? If memory serves, row == -1 for the header.

Vanderghast, Access MVP

"Paul" <gambamia2(a)yahoo.es> wrote in message
news:7308a1e2-e94f-4013-8740-3c7ab432e73d(a)z19g2000yqk.googlegroups.com...
> Hi,
> How can I put a checkbox in the header of the datagridview?
>
> Thanks