Solved

Gridview - Is there a way to have one column in the header accross multiple columns?

Posted on 2008-10-02
2
262 Views
Last Modified: 2013-12-17
I have a gridview that has four columns; however, none of the three columns have their own particular header, but ALL of the three columns share one common header.

For instance,

                    ___________________
Header:       |         NEW BOOK         |
                    ___________________
Data Row 1 | 893   |  John     |  Out   |    
Data Row 2 | 425   |  Ann      |  Out   |

   
0
Comment
Question by:rpatronee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Pra4444 earned 250 total points
ID: 22627267
Can you not disable gridview header (showheader=false) ??  and just add a label above your gridview with the data you want???


0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22641246
what i will recommend is having only one column in which you display the header but merge the information from 3 columns with a separator for display purposes
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question