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. DataGrid Turning Off Row Headers

DataGrid Turning Off Row Headers

Scheduled Pinned Locked Moved C#
winformsquestion
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.
  • M Offline
    M Offline
    MarkMokris
    wrote on last edited by
    #1

    There is a property of the Windows Forms DataGrid called RowHeadersVisible. I set it to false, but the row headers never seem to disappear. Has anyone had any success getting row headers to disappear? Thanks! Mark

    B S 2 Replies Last reply
    0
    • M MarkMokris

      There is a property of the Windows Forms DataGrid called RowHeadersVisible. I set it to false, but the row headers never seem to disappear. Has anyone had any success getting row headers to disappear? Thanks! Mark

      B Offline
      B Offline
      Brian Nottingham
      wrote on last edited by
      #2

      If you have used custom table and column styles, then you need to turn that property off on the DataGridTableStyle object.

      M 1 Reply Last reply
      0
      • B Brian Nottingham

        If you have used custom table and column styles, then you need to turn that property off on the DataGridTableStyle object.

        M Offline
        M Offline
        MarkMokris
        wrote on last edited by
        #3

        Thanks Brian! That is exactly what it was. Mark

        1 Reply Last reply
        0
        • M MarkMokris

          There is a property of the Windows Forms DataGrid called RowHeadersVisible. I set it to false, but the row headers never seem to disappear. Has anyone had any success getting row headers to disappear? Thanks! Mark

          S Offline
          S Offline
          sreejith ss nair
          wrote on last edited by
          #4

          hi, I wrote an article for DataGridFormattings. That will help you out from this senario.:) Sreejith Nair

          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