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. Web Development
  3. ASP.NET
  4. Repeating the DataGrid header

Repeating the DataGrid header

Scheduled Pinned Locked Moved ASP.NET
help
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.
  • K Offline
    K Offline
    Ken Slight
    wrote on last edited by
    #1

    From what I've seen, there's no way to repeat the header in the DataGrid. In my case, I would like to repeat it every 20 or so. It seems rather hard to use the DataGrid with anything more than that and expect people to be able to read it. For now, the regular table seems the better option since it allows more control though more work. Thanks for any help. Ken

    N 1 Reply Last reply
    0
    • K Ken Slight

      From what I've seen, there's no way to repeat the header in the DataGrid. In my case, I would like to repeat it every 20 or so. It seems rather hard to use the DataGrid with anything more than that and expect people to be able to read it. For now, the regular table seems the better option since it allows more control though more work. Thanks for any help. Ken

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Override ItemCreated and insert a new row similar to your header or just copy the header to the new row. Ken Slight wrote: For now, the regular table seems the better option A datagrid is a table

      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