Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Something like DataGridViewCheckBoxColumn

Something like DataGridViewCheckBoxColumn

Scheduled Pinned Locked Moved C#
wpfwcfquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dewald
    wrote on last edited by
    #1

    Hi all, There are all these nice types of columns you can add to a DataGridView - ex. DataGridViewCheckBoxColumn and DataGridViewButtonColumn Is there a way to define my own type for such a column? What I'd like to do is this; I have a DataGridView on my form in which I display the various values of a list of attributes (I'm not using data binding). The different attributes have different types of values, some are strings, some are integers, some are dates and some are byte values that represent a bit field. These bit fields I'd like to display in the DataGridView as a group of checkboxes. So I had in mind to create a control that consists of a panel containing 8 check boxes (or something like that) and then display that control in the DataGridView cell. But how? Any ideas or suggestions would be appreciated. TIA

    G 1 Reply Last reply
    0
    • D Dewald

      Hi all, There are all these nice types of columns you can add to a DataGridView - ex. DataGridViewCheckBoxColumn and DataGridViewButtonColumn Is there a way to define my own type for such a column? What I'd like to do is this; I have a DataGridView on my form in which I display the various values of a list of attributes (I'm not using data binding). The different attributes have different types of values, some are strings, some are integers, some are dates and some are byte values that represent a bit field. These bit fields I'd like to display in the DataGridView as a group of checkboxes. So I had in mind to create a control that consists of a panel containing 8 check boxes (or something like that) and then display that control in the DataGridView cell. But how? Any ideas or suggestions would be appreciated. TIA

      G Offline
      G Offline
      Goutam Patra
      wrote on last edited by
      #2

      This Link[^] may help you to get some idea

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups