A row of checkboxes in datagrid?

W

Wongalogic

Hi:

It's easy to add one column of checkboxes in to datagrid. Has anyone tried
to add one row of checkboxes in to datagrid(or listview)? If you know how to
do, please give some hints.

Thanks,

Dennis Huang
 
J

Jeremy Cowles

Wongalogic said:
Hi:

It's easy to add one column of checkboxes in to datagrid. Has anyone tried
to add one row of checkboxes in to datagrid(or listview)? If you know how to
do, please give some hints.

You could do it in a datagrid by making every col in the
DataGrid.TableStyles.ColStyles a DataCheckBox, and then by making your
source data all boolean fields.

HTH,
Jeremy
 
W

Wongalogic

My workaround is to use special fonts, like Wingdings. Some letters look
like a checkbox. for example if you type the lowercase x, p. I do it in
listview.

Dennis Huang
 

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