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. Merge DataGrid Header

Merge DataGrid Header

Scheduled Pinned Locked Moved ASP.NET
helptutorial
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.
  • P Offline
    P Offline
    ptvce
    wrote on last edited by
    #1

    Hi i want to have two headers for my datagrid for example i have 5 column in my datagrid that they have headers.and i want to group them and get them another header with just one topic for 5 column(i mean i want to merge them) can u help meeeeeeeee

    D L 2 Replies Last reply
    0
    • P ptvce

      Hi i want to have two headers for my datagrid for example i have 5 column in my datagrid that they have headers.and i want to group them and get them another header with just one topic for 5 column(i mean i want to merge them) can u help meeeeeeeee

      D Offline
      D Offline
      dansoft
      wrote on last edited by
      #2

      You can use table for the first header. For eg. In the 1st row of the table type 1st header In the next row place the datagrid Hope this will solve your problem.

      P 1 Reply Last reply
      0
      • D dansoft

        You can use table for the first header. For eg. In the 1st row of the table type 1st header In the next row place the datagrid Hope this will solve your problem.

        P Offline
        P Offline
        ptvce
        wrote on last edited by
        #3

        but my datagrid be changed some times it hase 5 column and some times has less than that or sometimes has more than that i can not do this work

        1 Reply Last reply
        0
        • P ptvce

          Hi i want to have two headers for my datagrid for example i have 5 column in my datagrid that they have headers.and i want to group them and get them another header with just one topic for 5 column(i mean i want to merge them) can u help meeeeeeeee

          L Offline
          L Offline
          luckyv
          wrote on last edited by
          #4

          Refer www.codeproject.com/aspnet/MergeDatagridHeader.asp All the best Lucky

          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