Is there a way to improve the DataGridBoolColumn???

  • Thread starter Thread starter Enlai Pensado
  • Start date Start date
E

Enlai Pensado

I've been using DataGridBoolColumn in many of my DataGrid controls and
never mind that if you want to mark many rows, you must do two clicks
each time, one to change the row and another to check.

Is there a way to change that?

A user is bugging so much about it ...
 
Hi Enlai,

Thanks for your post.

I am not sure I understand you very well. Based on my understanding, you
find that DataGridBoolColumn has a strange behavior: whenever we want to
change another CheckBox(which has no focus)'s state, we clicked that cell.
However, only focus is passed to that CheckBox cell, we have to click a
second time to change that cell's state. If I misunderstand you, please
feel free to tell me, thanks

Actually, this is the default behavior of DataGridBoolColumn. If we want to
change it function to react to our first click, we have to process the
mouse event ourselves, then explicitly change that cell state. For more
information, please refer to the link below:
"5.80 How can I get a CheckBox column in a DataGrid to react to the first
click?"
http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q945q
========================================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Thank you so much, Jeffrey. That's exactly what i was looking for.

Jeffrey Tan[MSFT] escribió:
 
Back
Top