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 ForumsReportsReportsHTML Template ColumnsHTML Template Columns
Previous
 
Next
New Post
6/25/2008 4:28 AM
 

Hi There,

I'm new to the reports module but from what I have seen it will almost do exactly what I want. Basically I am running a report to list all users in a particular role.. all good so far and the data returned is spot on. But, I want this information displayed in a good looking manor. I couldn't work out how to rename the column names when using the grid visualizer so thought I would try the HTML template. Now here starts the problem. In my template I have a table. The first row is the column names, then the second is the  field names. The problem is it repeats the column headings for every record.

Any way round this ?

Many Thanks

 

 
New Post
1/7/2009 8:26 PM
 

I am having the same issue.  Any ideas of how to resolve this?

 
New Post
1/7/2009 8:28 PM
 

I am having running into the same issue.  Any resolution to this problem?

Thanks!

 
New Post
1/8/2009 3:04 PM
 

The current version of the HTML Template visualizer only supports rendering the template once for each row, it does not support headers or footers.  The XSLT Transform Visualizer could be used for a more advanced scenario.

Going to your original problem, the Grid Visualizer uses the columns returned in the SQL Query, so all you need to do to rename the columns is use SQL Aliases.

For example:

SELECT cust_id AS 'Customer ID', cust_name AS Name, cust_address AS Address WHERE ...

Note that you must use single quotes (') or square brackets ([]) if your column name contains spaces.


Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
1/8/2009 6:56 PM
 

Thank you for your help!  I really appreciate it.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsHTML Template ColumnsHTML Template Columns


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