Avatar of David L. Hansen
David L. Hansen
Flag for United States of America asked on

Checkboxes in a datagridview not holding value

I have a datagridview who's datasource I populate with a generic list.  This generic list ("buyers" - plural) is a collection of lots of custom class objects ("buyer" objects).  All of the properties belonging to a buyer object display as columns in the datagridview (when connected to the grid's datasource)...so far so good.  Consider that one of the buyer object's properties is a boolean that I just now added to the code.  When the datagridview displays all of its data, this boolean property is expressed as a column of checkboxes -- which is just what I want.  The problem is this: when I click on any of those checkboxes, no mark shows.  Note, that that particular column is not readonly, so the core cause must be something else.  Ideas?

BTW, the generic list "buyers" inherits from "system.componentmodel.bindinglist"; not sure if this has any bearing on the problem.
Visual Basic.NETC#

Avatar of undefined
Last Comment
YZlat

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
YZlat

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
David L. Hansen

ASKER
So simple!  My EditMode was set to EditProgrammatically.  I got rid of that and it's running super.  Thanks!
YZlat

I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck