Home All Groups Group Topic Archive Search About

DataGrid Columns Spannig More Than One Column

Author
12 Jan 2006 8:11 PM
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

Author
12 Jan 2006 9:06 PM
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
Show quoteHide quote
"Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
news:%23GujVR7FGHA.1424@TK2MSFTNGP12.phx.gbl...
>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
>
Are all your drivers up to date? click for free checkup

Author
12 Jan 2006 9:50 PM
Chuck Foster
I'd prefer that it be centered over all 3 columns.

Thanks, Chuck Foster
Show quoteHide quote
"S. Justin Gengo [MCP]" <justin@[no_spam_please]aboutfortunate.com> wrote in
message news:eb$T9v7FGHA.1088@tk2msftngp13.phx.gbl...
> 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
> "Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
> news:%23GujVR7FGHA.1424@TK2MSFTNGP12.phx.gbl...
>>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
>>
>
>
Author
12 Jan 2006 10:21 PM
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
Show quoteHide quote
"Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
news:Ob78qI8FGHA.516@TK2MSFTNGP15.phx.gbl...
> I'd prefer that it be centered over all 3 columns.
>
> Thanks, Chuck Foster
> "S. Justin Gengo [MCP]" <justin@[no_spam_please]aboutfortunate.com> wrote
> in message news:eb$T9v7FGHA.1088@tk2msftngp13.phx.gbl...
>> 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
>> "Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
>> news:%23GujVR7FGHA.1424@TK2MSFTNGP12.phx.gbl...
>>>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
>>>
>>
>>
>
>
Author
15 Jan 2006 8:45 AM
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




S. Justin Gengo [MCP] wrote:
Show quoteHide quote
> 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
> "Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
> news:Ob78qI8FGHA.516@TK2MSFTNGP15.phx.gbl...
> > I'd prefer that it be centered over all 3 columns.
> >
> > Thanks, Chuck Foster
> > "S. Justin Gengo [MCP]" <justin@[no_spam_please]aboutfortunate.com> wrote
> > in message news:eb$T9v7FGHA.1088@tk2msftngp13.phx.gbl...
> >> 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
> >> "Chuck Foster" <chuckdfos***@hotmail.com> wrote in message
> >> news:%23GujVR7FGHA.1424@TK2MSFTNGP12.phx.gbl...
> >>>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
> >>>
> >>
> >>
> >
> >

Bookmark and Share