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. Visual Basic
  4. needed a grid having more than one header.... [modified]

needed a grid having more than one header.... [modified]

Scheduled Pinned Locked Moved Visual Basic
csstutorial
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.
  • M Offline
    M Offline
    MissionSuccess
    wrote on last edited by
    #1

    Respected gurus I m working with a windows datagrid.i need two headers in my grid. eg.. Product name cat1 cat2 name1 name2 data data data data data data data data How to achieve it. My data is coming from backend. i need it in the windows application...... -- modified at 8:43 Thursday 20th September, 2007

    D 1 Reply Last reply
    0
    • M MissionSuccess

      Respected gurus I m working with a windows datagrid.i need two headers in my grid. eg.. Product name cat1 cat2 name1 name2 data data data data data data data data How to achieve it. My data is coming from backend. i need it in the windows application...... -- modified at 8:43 Thursday 20th September, 2007

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      It's not supported by the old DataGrid, or by the DataGridView controls. You'd have to add this yourself, either by using cleverly placed and defined label controls above the DGV, possibly in your own UserControl, or by creating your own version of the DGV control and adding this functionality to the existing control using custom properties and painting code.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      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