Checkbox in datagrid header

G

Guest

Within the application that I'm creating, I am going to need several datagrids and am wanting to create a reusable datagrid control. One of the requirements of this datagrid is that a user may choose to hide a column(s). I have created a checkbox in each column, to allow them to select the columns that they want to hide but I am unable to reference these checkboxes

To make it even more difficult is that since the datasource and formatting will change from page to page, I've decided to create the columns dynamically depending on what's in the new datasouce. This all seems to be working except that I can't reference or determine when a checkbox in the column header has been checked.

Thanks in advance for you help
Rod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top