Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Closing all mdichildren forms Pin
LongRange.Shooter14-Jun-04 10:12
LongRange.Shooter14-Jun-04 10:12 
GeneralDirectx Writepixel in .NET Pin
eldrago14-Jun-04 6:49
eldrago14-Jun-04 6:49 
GeneralRe: Directx Writepixel in .NET Pin
Jeremy Kimball14-Jun-04 9:02
Jeremy Kimball14-Jun-04 9:02 
GeneralRe: Directx Writepixel in .NET Pin
eldrago14-Jun-04 20:00
eldrago14-Jun-04 20:00 
GeneralRe: Directx Writepixel in .NET Pin
Jeremy Kimball15-Jun-04 3:00
Jeremy Kimball15-Jun-04 3:00 
GeneralSynchronized Databinding Pin
WillemM14-Jun-04 6:43
WillemM14-Jun-04 6:43 
GeneralRe: Synchronized Databinding Pin
WillemM14-Jun-04 7:51
WillemM14-Jun-04 7:51 
GeneralDataGrid CheckBoxes Pin
exhaulted14-Jun-04 6:23
exhaulted14-Jun-04 6:23 
Hi all,

I have seen lots of articles on the subject of datagrid controls and check boxes. I am currently designing a goods movement system for the company i work for and i have most of it finished. However, on the last page i want to display a datagrid control with data that has been entered on previous pages, that bit i have done including formatting the datagrid (which took some figuring out but i got there in the end).

The user will have to go through each entry every week and tick them off one by one. I have added a DataGridBoolColumn object to the TableStyle.GridColumnStyles collection and the check box displays fine. However i have 2 problems.

1. The default value for the check boxes is true, i need it to be false and setting the value to false when setting up the column in code doesn't work. Although by answering the next question this might be solved.

2. Whenever i tick/untick the box then move the focus away from the cell in the grid the checkbox returns to a checked state.

any help that you can give me would be appreciated.

Cheers

KP
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart14-Jun-04 6:28
protectorHeath Stewart14-Jun-04 6:28 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted14-Jun-04 22:09
exhaulted14-Jun-04 22:09 
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart15-Jun-04 2:32
protectorHeath Stewart15-Jun-04 2:32 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted15-Jun-04 5:40
exhaulted15-Jun-04 5:40 
GeneralRe: DataGrid CheckBoxes Pin
Heath Stewart15-Jun-04 5:53
protectorHeath Stewart15-Jun-04 5:53 
GeneralRe: DataGrid CheckBoxes Pin
exhaulted15-Jun-04 6:17
exhaulted15-Jun-04 6:17 
GeneralDataGrid CheckBoxes Pin
exhaulted14-Jun-04 6:23
exhaulted14-Jun-04 6:23 
Questionthe best way to terminate a blocked thread? Pin
vista2714-Jun-04 6:20
vista2714-Jun-04 6:20 
AnswerRe: the best way to terminate a blocked thread? Pin
palbano14-Jun-04 6:38
palbano14-Jun-04 6:38 
AnswerRe: the best way to terminate a blocked thread? Pin
Mike Dimmick14-Jun-04 6:40
Mike Dimmick14-Jun-04 6:40 
Generalneed help, treeView and active directory Pin
vcorn14-Jun-04 6:11
vcorn14-Jun-04 6:11 
GeneralRe: need help, treeView and active directory Pin
Heath Stewart14-Jun-04 6:41
protectorHeath Stewart14-Jun-04 6:41 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:29
vcorn14-Jun-04 7:29 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 7:31
mveDave Kreskowiak14-Jun-04 7:31 
GeneralRe: need help, treeView and active directory Pin
vcorn14-Jun-04 7:43
vcorn14-Jun-04 7:43 
GeneralRe: need help, treeView and active directory Pin
Wackatronic14-Jun-04 7:57
Wackatronic14-Jun-04 7:57 
GeneralRe: need help, treeView and active directory Pin
Dave Kreskowiak14-Jun-04 8:02
mveDave Kreskowiak14-Jun-04 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.