Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDisplaying calculated column totals at top of page?Displaying calculated column totals at top of page?
Previous
 
Next
New Post
3/21/2007 10:59 AM
 

Hi All,

As this is my first forum post can I quickly say a huge thank you to all the contributors on here who have given up their time and effort, not only with the UDT project, but the whole DNN project and posting their great advice on these forums.

Two months ago I stumbled upon the DNN site being a complete novice web designer with little understanding of the Portal/CMS concept. A huge learning curve has taken place and I am now able to produce a professional looking site with modules to accomplish most tasks I need. This is truly amazing! so once again thank you all. Since I have spent the last two weeks using UDT can I extend those thanks to Sebastian, Stefan and the others here for this great module.

So on to my UDT display question.

I have created a table to store data from my site members and perform a few calculations on that data. This is a simplified version of what I have...
__________

user    item a    item b    item c    column a total     column b total     column c total    
chris      1           4           7                   6                        15                       24
john      2           5            8                   6                        15                       24
paul      3           6            9                   6                        15                       24
__________

Users add new row with data for items a, b and c and calculated field sums the column totals. I have paging setup and the calculations work fine across multiple pages.

This works perfectly but the layout leaves a lot to be desired.

I would like to achieve this... 
__________

           total a    total b     total c
              6          15          24

name    item a    item b    item c   
chris     1             4            7      
john      2            5             8      
paul      3            6             9      
x           x            x             x
x           x            x             x
x           x            x             x
x           x            x             x
x           x            x             x

page 1 of x    <prev   next>
__________

i.e. a single row of the calculated totals presented static at the top of the page and staying there regardless of what page x of x I am displaying.

I initially though I could simply create another UDT instance in the container above but have it's calculations linked to the data of the table below but cannot figure out how to configure this - is this possible?

The other option I guess is a custom XSL layout but I have had little success in understanding the XSL posts. I definitely look forward to Stefans next XSL document which may make things a little clearer.

Hope this makes sense. If I am missing the obvious or have not found the previous post that answer this then my apologies.

Cheers,

Chris.

 

 
New Post
4/3/2007 9:19 AM
 

Hi again, sorry to repost on my own question but perhaps if I can simplify my goal, someone may be able to let me know if this is possible or not.

Lets assume a very simple table - Total is just a calculated column (SUM(Cost))

Item Cost (£)     Total 
     10                  30
     10                  30
     10                  30

I dont want to display the total cost on every row - I would like this display

Item Cost (£)      
     10         
     10         
     10         

Total Cost £ 30

Any ideas (or starting points on the XSL path!) would be very gratefully received

Thanks,

Chris.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListDisplaying calculated column totals at top of page?Displaying calculated column totals at top of page?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out