Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

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.
0
David L. Hansen
Asked:
David L. Hansen
  • 2
1 Solution
 
YZlatCommented:
is your gridview updatable?
0
 
David L. HansenProgrammer AnalystAuthor Commented:
So simple!  My EditMode was set to EditProgrammatically.  I got rid of that and it's running super.  Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now