We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Check Box in DataGrid

Thread ID:

Created:

Platform:

Replies:

54100 Dec 29,2006 02:20 PM UTC WinForms 0
loading
Tags: FAQ
Victor
Asked On December 29, 2006 02:20 PM UTC

Hello.
I'm working in a Windows Form (VS .Net 2003), I have included a DataGrid and one of the colum is a CheckBox, my problem is that in run time, the check box colum appears gray, like in three states, bu if Click over one of this and debug the code, I find that VarType(DG_Detalle.Item(Nro_Fil, Nro_Col)) = vbNull.

I have tried of everything, need help.

the next is the definition:
Dim Chk_DarBaja As DataGridColumnStyle = New DataGridBoolColumn
Chk_DarBaja.MappingName = "Chk_DarBaja"
Chk_DarBaja.HeaderText = "Dar Baja"
Chk_DarBaja.ReadOnly = False
Chk_DarBaja.Width = 50
DGTStyle.GridColumnStyles.Add(Chk_DarBaja)

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;