Results 1 to 4 of 4

Thread: two line headers in datagrids

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128

    two line headers in datagrids

    I need to have two lines in the header of my datagrid,

    example:

    |----------------|
    |--Temperature--| - header line 1
    |----------------|
    |--Min--|--Max--| - header line 2
    |----------------|
    |--5.0--|--10.0--| - item line
    |----------------|


    does anybody know if this is possible?

    thanks,
    tom.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    What I do is just bump a one row table right above the datagrid. As long as both are in the same p tag in the html, it gets them pretty close. Other than that, I am not sure.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128
    yes, i do a similer thing, i put an image just above the datagrid...

    anybody else?
    tom

  4. #4
    Addicted Member
    Join Date
    Oct 2002
    Posts
    145
    Try this:

    VB Code:
    1. datagrid1.Columns(1).HeaderText =  "Temperature" & "<br>" & "Min  |  Max"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width