Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

custom css or xsl for grid report not in document

Status
Not open for further replies.

mm236

IS-IT--Management
Nov 15, 2002
14
US

1. I was wondering if there was a way to control the formatting of a grid report viewed through the web but not as a document.

I figured out that the autostyle uses the .css files on the server but that looks like pure font, color, etc formatting. I don't know if the grid report uses the default .xsl file on the server or if additional formatting is done dynamically.

I've customized some of the .xsl files in the past when using documents with grid and graph reports in it. It's easy to associate the .xsl file to the report in a document.

I can't figure out how to do it without using a document, just as a grid report viewed thgrough the web. I was hoping someone could tell me how or if it is even possible.

2. What I'm trying to accomplish is to force more columns to display on the grid report. There are 21 small columns on the report but on the web, only columns 1 - 10 are displayed. Half the screen is blank white space. It's probably just a little too big to fit all the columns on the screen at once. I've already played with using a column alias on some columns but it didn't help.

Any help would be appreciated.
Even just letting me know if it can be done.

Thanks,
mm236
 
I'm answering my own thread but...

I spoke to some of the guys I work with and they said the number of columns and other things was being handled buy ASP not an .xsl

Also, I know you can change the number of columns in the user preferences but that changes the default for all reports.

I know you can do it at the project level too.

I was kind of just wondering if it could be customized for specific reports.

If not, my end user will just have to change his user preferences.

Thanks,
mm236
 
i don't think there's a way to specify web columns per report. If you want to make it look nicer, the user has a few options.

1) fit column width to content. This gets rid of the white space. You can see it in web if you have web pro. (you can't set this by default, log an enhancement)
2) turn lock row headers on. What this does is to lock the columns on the left and let the user scroll across to the other items. Again, can't set by default but can be seen by a web pro user. It's more like a freeze pane in Excel.
3) if these options don't work, let the user adjust their column widths and save the settings themselves over web. The sneaky folks at MSTR put all these features in Web Pro.
 
Yes, that could be customized. I talked to my ASP developer here, and he said that it would be possible to build a small VB app that would add an extra property to a report in which you would store the number of columns you want to display. Then you would have to do a customization in the web pages to take that new parameter into account.

We have the same problem here: for some reports 10 columns is too much, for others it's way too much.

He also said that you are the web application is not using XSL for the default report display. It is using it when you build a custom XSL (surprising right?! ;-) ).

HTH!
FLB.
 
Thanks for the advice.
mm236
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top