CheckBoxes in a DataGrid column 
Author Message
 CheckBoxes in a DataGrid column

Hello,
i tried to format a DataGrid Control column to checkboxes
(via Properties -> Format), but it still shows '0' or '-1'.
The DataGrid is bound to a recordset generated by
DataEnvironment. The column is of type boolean in Access.
Access shows the column as checkboxes.

Can anyone help?

Thanks in advance



Sun, 29 Aug 2004 00:48:37 GMT  
 CheckBoxes in a DataGrid column
It appears that there is a limitation of the DataGrid control with
formatting the column as a checkbox. The checkbox option is not designed to
insert checkboxes into a column. It's only a formatting option. When we
choose the Checkbox option of the format tab, we are actually telling the
DataGrid to format the data. In this case
the format says to convert data to either 0 or 1. No checkbox will be
displayed. You may want to check about some third party control to
accomplish this, such as DataTable ActiveX control at
http://www.infragistics.com/products/classic/datatable.asp.
(The third-party products discussed above are manufactured by vendors
independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability)

Best Regards,

Alick Ye

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. Copy right, 2002 Microsoft Corporation.
All rights reserved.



Mon, 30 Aug 2004 10:44:01 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Checkbox within a Datagrid column

2. How do I put checkboxes in a datagrid column

3. Dynamically Added Datagrid Template Column - Checkbox.Checked state in Column Header

4. CheckBox.Checked property in the Header of a Dynamically created DataGrid Column

5. How do I insert a CheckBox into DataGrid column

6. How to set CheckBox for DataGrid column

7. Boolean value in DataGrid column, checkbox?

8. DataGrid: Displaying boolean columns as checkboxes or strings

9. DataGrid with CheckBox in First Column

10. Boolean value in DataGrid column, checkbox?

11. DataGrid: Displaying boolean columns as checkboxes or strings

12. DataGrid With CheckBox in First Column

 

 
Powered by phpBB® Forum Software