A row of checkboxes in datagrid?

  • Thread starter Thread starter Wongalogic
  • Start date Start date
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
 
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
 
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
 
Back
Top