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. regd datagrid

regd datagrid

Scheduled Pinned Locked Moved C#
question
4 Posts 3 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.
  • K Offline
    K Offline
    karteek
    wrote on last edited by
    #1

    Hi, I have a datagrid and I want checkboxes along with a text beside it on each column header. How do I do this?? KArteek

    H 1 Reply Last reply
    0
    • K karteek

      Hi, I have a datagrid and I want checkboxes along with a text beside it on each column header. How do I do this?? KArteek

      H Offline
      H Offline
      Hubert
      wrote on last edited by
      #2

      You can add regular checkboxes to the form containing datagrid, and then simulate, that they are part of datagrid: probably you'll need to serve scrolling and column resizing events, to position them properly. I can send something similar next week if you want. h.

      K 1 Reply Last reply
      0
      • H Hubert

        You can add regular checkboxes to the form containing datagrid, and then simulate, that they are part of datagrid: probably you'll need to serve scrolling and column resizing events, to position them properly. I can send something similar next week if you want. h.

        K Offline
        K Offline
        karteek
        wrote on last edited by
        #3

        Hi, I want check boxes only in the column header. Not for full column. Karteek

        H 1 Reply Last reply
        0
        • K karteek

          Hi, I want check boxes only in the column header. Not for full column. Karteek

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          The DataGrid doesn't support it. Take a look at third-party controls, from Developer Express[^], Infragistics[^], or other third-party libraries.

          Microsoft MVP, Visual C# My Articles

          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