Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I use a DataGridBoolColumn to format my DataGrid and I was quite surprised by its working : needing to click twice in the column before being able to change the CheckState of my cell:

- first time to select the cell

- second time to act on the checked status

 

Is this the normal working ? There is no way of clicking only one in the cell to directly check or not ?

 

Thanks

Jarod
Posted

In fact the DataGridBoolColumn are in tri-state mode (True - False - DBNull value)

THe DBNull value can be refused by a propery (AllowNull to false I think)

But this is a different interaction (wa can see the three mode on the text box (checked, unchecked, grayed) but still after the second click

 

I think that this working is to "copy" the TextBox working:

first click : able to type (space for the DataGridBoolColumn) - all text selected

second mouse action : be able to select, copy, paste, ...

Jarod

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...