|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGrid Columns Spannig More Than One ColumnI 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 Chuck,
What about left aligning the text in the first column and then setting the second and third headers to be blank: "" -- Show quoteHide quoteSincerely, 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 > 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 >> > > 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. -- Show quoteHide quoteSincerely, 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 >>> >> >> > > 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 > >>> > >> > >> > > > >
Other interesting topics
disabling html validation does not seem to stck
Parse-ing Strings Help on configuration file ??? Problems with ASP.NET 2.0 menu with Safari Error - System.Data.OleDb.OleDbException: Could not use ''; file already in use. - please help Application Performance Question Issues with multiple website development on Windows 2000 pro box Need Step by Step guide for setting up IIS 6 for ASP cross page postback problem Referencing other web projects within Visual Studio 2005 |
|||||||||||||||||||||||