I'm trying to add a checkbox to all column headers of a GridView, however I cannot see an easy way to accomplish it. Basically, I have a dynamically generated set of columns (which each can contain a different editor). I want a checkbox in the header cell which will allow me to enable/disable that column, however I cannot see a way to do it (I basically want to replicate the 'EnableHeaderCheckBox' functionality of the GridViewCheckBoxColumn, except on all columns regardless of data type). Can anybody offer any advice on how this can be acheived?