473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Datadrid bool column.

Hi,
In datagrid tablestyles, I've defined a column as DatagridBoolColumn.
(allownull=false)
The problem is when I execute, I've to clic on the checkbox twice to to
check (or uncheck) it, the first time is like I select it, the second time
the checkBox is checked (or unchecked).
Is there a solution for this so I can check the checkbox on teh first clic
on it.

Thanks.
Nov 21 '05 #1
1 913
Hi,

http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q945q

Ken
------------------
"touiss" <to****@hotmail.com> wrote in message
news:O4**************@TK2MSFTNGP10.phx.gbl...
Hi,
In datagrid tablestyles, I've defined a column as DatagridBoolColumn.
(allownull=false)
The problem is when I execute, I've to clic on the checkbox twice to to
check (or uncheck) it, the first time is like I select it, the second time
the checkBox is checked (or unchecked).
Is there a solution for this so I can check the checkbox on teh first clic
on it.

Thanks.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: nate axtell | last post by:
In VB .Net I want to bind a DataGridBoolColumn to two columns in the following way. The value column determining whether the boxes are checked are not with be a DB column of type bool. The second...
3
by: Steven C. | last post by:
I'm trying to learn C#, and I came across the following: bool isClickInCell = hti.Column == this._columnNum && hti.Row > -1; What exactly is going on here? As a Foxpro dude, this totally...
3
by: Greg | last post by:
My problem is that values in the bool column of a datagrid are only being updated to the database once the focus of the bool cell is lost. This is completely counter-intuitative. When a user clicks...
0
by: Stephen Plotnick | last post by:
I have a bool type I've built in a data grid that is acting very strange. The column shows up and if I click on the bool type it does not change the check mark. If I click and than click on another...
1
by: Noman Ali | last post by:
Hi, I am facing some problems in Data Grid bool Column. Data Grid bool Column is not painting correctly after Scrolling in .net 1.1. Any one knows how to correct this?? Thankx in advance. ...
0
by: PawelR | last post by:
Hi group, In my apps I have DataTable dtData. This table I show in DataGridView. One of columns is bit type in SQL database - in apps i is bool type. For set DataGridColumnStyle I use:...
0
by: =?Utf-8?B?S2lt?= | last post by:
Hi all I'm working with a column of checkbox in datagridview. I can mark the cells defalut false 1. time by set thristate to false and varpmode to false too => all the cell are default false...
1
by: majidkorai | last post by:
Hey Guyz I am having problem when i read the data from a datareader into a data table. The whole scenario is this that I want to read data from two diffrent databases, the table strcutre is...
0
by: priyamtheone | last post by:
I'm trying to make a datagridview column to act like a datetimepicker column (C#.Net 2005). These are the behaviours that the dgv should have: 1) Initially all the cells of the dtp column should be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.