CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2001
    Posts
    2,455

    DataGridView help...

    I have a DataGridView bound to a BindingList of custom objects. The custom object has a status value and 5 properties which return a bool value depending on the status.

    When one of the checkboxes in my datagridview gets checked, the other 4 should show unchecked since the status has changed. This works fine except the row does not show the correct check state until the row is exited.

    In otherwords, if column 1 is currently checked and I check column 2, column 1 should now show unchecked. This does not happen until I leave the current row.

    How do I force a refresh on the current row immediately after one of the checkbox values change?

    Any hints?

    Mike B

  2. #2
    Join Date
    Feb 2009
    Posts
    5

    Re: DataGridView help...

    ni hao!

    please write an update function to get backup the values via checkbox if checked,

    5babybulls

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured