DataGrid Columns Spannig More Than One Column

C

Chuck Foster

I have a datagrid and I want 3 columns to share the same column header. I
have ColID, ColName, and 3 Hyperlink columns that need to have
AdminFunctions as their header. Anyone know how to accomplish that?

Thanks in advance for any help!

Thanks,
Chuck Foster
 
S

S. Justin Gengo [MCP]

Chuck,

What about left aligning the text in the first column and then setting the
second and third headers to be blank: ""

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
S

S. Justin Gengo [MCP]

Chuck,

In that case there are a few options. Is the data coming out of a database?
If that's the case then I would use the SQL Statement or Stored Procedure
and return the three columns concatenated: (LastName + ', ' + FirstName) As
FullName for example. Another option would be to set the three columns to
fixed widths and center the header in the middle column. There are lots of
ways to do it.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
P

prabhupr

How about displaying the Column Header in 2nd column (also center
aligned) and for the 1st and 3rd column you have a "." as column name
and set fore-color such that u cannot see the text of the column at all
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top