How to show a CheckBox in a DataGrid

  • Thread starter Thread starter Tor Inge Rislaa
  • Start date 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
 
You have to add a gridcolumn that is of bool type.. the default datagrid
only has text and bool.
 
Go to your TableStyles settings... then gridColumnSTyles collection editpor

Click Add, you will see boolcolumn in there.
 
Back
Top