How to show a CheckBox in a DataGrid

  • Thread starter Tor Inge Rislaa
  • Start date
T

Tor Inge Rislaa

How to show a CheckBox in a DataGrid

If I just map a table of a dataset to my datagrid, Boolean values in the
table are shown as a checkbox. But if I add a TableStyle with
GridColumnStyle for the columns in the table, the Boolean values are shown
as true or false. How is it possible to show the values as CheckBox even
when using GridColumnStyle

TIRislaa
 
C

CJ Taylor

You have to add a gridcolumn that is of bool type.. the default datagrid
only has text and bool.
 
C

CJ Taylor

Go to your TableStyles settings... then gridColumnSTyles collection editpor

Click Add, you will see boolcolumn in there.
 

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