Re: GridView Totals Row as First Row
- From: "Alvin Bruney [MVP]" <some guy without an email address>
- Date: Tue, 16 Jan 2007 23:20:42 -0500
You can put the totals row anywhere you want. Header cells can take text
boxes that can be formatted to look like rows so just do an add control to
the header. Totals as the first row is usually a bad idea because special
code needs to be done to handle paging, sorting etc. Esposito had an article
entitled freeze the header scroll the grid, you can use that as a start
because that is really what you are asking for functionally.
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
"Walt Zydhek" <walt.zydhek@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23RL5HsLOHHA.4928@xxxxxxxxxxxxxxxxxxxxxxx
I have seen a number of articles about adding a totals row to the GridView
control. But I have only seen methods for displaying the totals row in the
Footer.
Is there a way to display the totals in the FIRST row of the GridView,
along with a custom style for that row?
Or how can a Header be modified to show two rows (the Header cell and a
Totals Cell)?
I have a project that requires the Column Headers on the first row, the
Column Totals for 8 columns, then the data rows.
Any assistance would be appreciated.
-Walt Zydhek
.
- References:
- GridView Totals Row as First Row
- From: Walt Zydhek
- GridView Totals Row as First Row
- Prev by Date: Re: Gridview column formatting
- Next by Date: Re: GridView with Multiple value post
- Previous by thread: GridView Totals Row as First Row
- Next by thread: Gridview column formatting
- Index(es):
Relevant Pages
|
Loading