Clasical Report column headings display
Hi ABAPERS
iam working on clasical report. in that i have to display 16 field headings.
when executing the report, the column headers should be frozen at the top so that when the user is scrolling down, they can see what the column title is.
how can i over come this problem.
Hi,
you mean the column headings should be displayed even though
the user scrolls down the output.
For classical reports, according to me it is not possible.
We will be using the write statement to display the records,
so it is static for the report.
If you want the output what you are expecting then go for ALV's.
Regards,
Venkatesh
Similar Messages
-
Javascript in report column headings?
Hello,
I'm wondering if it's possible to be able to use Javascript in report column headings, so that when the user hovers the mouse over the column heading name in the report, a pop-up appears with an explanation of what that column is. Usually I use Javascript on page items, but in this case, the column headings aren't page items, they are derived from the SELECT statement that makes the report. Is this possible using Javascript? Or, is there something I'm not aware of that Apex can do, such as the "Optional Label with Help" but for column heading names?
Thank you,
LauraHello Laura,
Each report column headings has an ID equal to the column name/alias as it appears in your select statement. You can use this ID to directly access the column header DOM node, just as you are doing with a page item.
In your case, you can use the ‘title’ attribute to get what you want. If your column ID is ‘COL1’, you can use something like this in the footer of your report region:
$x(‘COL1’).title = ‘Help Text’;Of course, having an ID allows you to use any JavaScript code you need.
Hope this helps,
Arie. -
Report column headings and title tag
Is there a way to add a title tag (similar to the alt tag for images) to my report column headings, so that when I hover over the column headings I get a description of the column?
I found a solution here:
Title= Attribute for report column headings -
Title= Attribute for report column headings
Hi All,
Is there anywhere we can specify the "title=" attribute for each of the report column headings. Unfortunately we are on Apex 2.0
This is to facilitate the use of screen readers, and I can see nowhere this can be entered.
We can use an anchor tag in the heading field of the column attributes which is fine such as <a title="test indicator indicator">TST </a>
But if we apply a sort to this field, the Sort doesn't work.
Thanks,
NoelHi Noel,
You need to change the column heading to wrap the text in a tag that has the title attribute.
For example, if you had a column called Name, change this to <span title="Name">Name</span>.
Column sorting will still work.
Regards
Andy -
Tooltips for report column headings
Hello,
I have a normal report, and I wanted to have either a tooltip or a cluetip for the report column headings. Can anyone please help me with this issue.
thanks,
ortonHi!
One way would be to adjust the report template. But this is quite difficult if you haven't done this before.
Maybe this forum post helps: Re: oracle apex and extjs grid table
Hmm on the other side why don't you just add some html tags inside the report column headers? I would suggest this example: http://apex.oracle.com/pls/otn/f?p=25110:5
<span TITLE="header=[Help] body=[Helptext]";>YOUR COLUMN HEADER</span>Best regards,
Tobias -
Hi Experts,
I am developing a Classical Report. So, for displaying the Column Headings in the output list, Is there any other alternative apart from the mentioning of the Column headings with the WRITE statement?
ThanQ.
Message was edited by:
Srinivastext elements..
go thru navigation.
or else
write: text-001. (double click on 001) and create
yah u can get multiple lines here.
ex.
write: text-001,
text-002.
in 001 mention 'document' and in 002 'number'.
it will display as
documnet
number
hope vertical line is not possible in this method
Message was edited by:
Santhosh Reddy -
Report column breaking - display text centred in cell
Hi,
I am looking for some help achieving the following:
I have a report which has column breaks on the first three columns. Currently, when the report is displayed, the first column value is displayed in the top row with the rows underneath blank and so on for columns 2 and 3. Then the data for the other columns is displayed as normal.
What I want to do is have the column values that are used in the break spanning the rows they break over so the text is displayed centred (vertically)
ie:
Col1 Col2 Col3 Col4 Col5
dat1 dat2
dat2 dat3
val1 val2 val3 dat4 dat5
dat6 dat7
dat8 dat9
val2 xx xxx xx xx
________________________________________________ (Hope this works in ascii!!!) - Col1,2,3 etc are the columns - ignore the vals and dats - they're just data placeholders.
All help much appreciated! :)Hi,
Something like: http://htmldb.oracle.com/pls/otn/f?p=33642:112 ?
If so, see: Re: How to achieve Page/Form/Report layout?
Andy -
Report Column Headings based on SQL Query
Hi ,
I am working on creating a SQL query based report. However, my column headers for this report are stored in a table and hence, I need the column headers to be based on a sql query also.
Can you give me some pointers on how to do this ?
Thanks!
LavanyaLavanya,
The report column attributes page has a radiogroup of column heading types. One lets you specify a PL/SQL function that returns the headings.
Scott -
Including item names in report column headings
I have a report where I want to use page items in the column headings. Trying to define these using (for example) &P1_ITEM. in the report definition / custom heading does not seem to work. I can define a simple PL/SQL function to return the heading, but I have many columns and it will mean that I'll have to define a function for each column name which does not seem v elegant. Am I missing something obvious?
Thanks SimonHi Simon
Column Attributes
Headings Type: Column Names Column Names (InitCap) Custom PL/SQL None choose PL/SQL
Function returning colon delimited headings:
DECLARE
vHEADINGS VARCHAR2(1000);
BEGIN
vHEADINGS := 'NAME:SURNAME:CODE:CELL_NR:&P1_CELL_1.:&P1_CELL_2.:&P1_CELL_3.:' || :XXX || ':' || :YYY || ':' || :ZZZZ || :A || ':' || :B || ':' || :C;
RETURN vHEADINGS;
END;Regards
Mel -
How to make the column heading bold / apply color to the column heading when Heading type used is PL/SQL ?
SanjayLavanya,
The report column attributes page has a radiogroup of column heading types. One lets you specify a PL/SQL function that returns the headings.
Scott -
Column Headings display in Uppercase as default
Is there a way i can make a newly created workbook display all column headers in uppercase, by default. Currently the column heading are in lower case and i have to go and manually change all column headings into uppercase
Well, you cannot do anything at the workbook level, that I am aware of (where want all caps for one workbook, but not all caps for another workbook).
Let me do mention this. When you create a business area, you follow a load wizard to step you through the steps to create the business area. The last step (or one of the last steps - cannot quite remember the order) is where you name the business area and give it a description. Below the Description section is a section to control how you want object names to generate. There is a Capitalize option, with the default being to capitalize the first letter of every word. I think here you could say to capitalize every letter. Since the heading default for every item in a folder is the item name, by saying to capitalize every letter for business area objects, then you would end up with all caps for your workbook headings that use this business area. The downside is that this holds true for any workbook using the business area.
For business areas that already exist, you can manually change the property, in Discoverer Administrator, for every item in the business area, one at a time. There is a heading property for each item. You would just type in the heading that you want to be the default for that item. Yes, this would be extremely tedious, but that option is available for you.
Personally, I would leave the load wizard default as is and just change any headings that I want to change when I create a workbook. If someone really wants their headings all in caps, then I would do that for that workbook. For most people I think the default works fine. But if you are sure that you always want headings in caps, then make sure you pick the right option whenver you create a new business area.
Does this make sense? Good luck.
John Dickey -
Underline behavior in sortable report column headings
Hi -- I have a report that uses generic columns, all of which have been given custom names. All columns
except the edit link are sortable.
When the report is first displayed, all column headers are underlined. The first column happens to be
the one used for initial, default sorting. When another column is chosen as the sort-by column,
the underline goes away for the first column. This happens every time a new column is sorted-by --
the underline goes away on the previous sort column. If a column is re-chosen to sort by, the
underline reappears.
Is this behavior intentional? Is there a way to change it so the underlines don't disappear?
Thanks,
CarolHi Carol,
I have same sort of problem with my report when I have imported the page from another application. I have fixed it, what i did - Click on edit page >> Click on the report name under the regions >> cut or copy report query and leave the query section blank >> save the page run it. So it will not display anything as you do not have any query there. Go to Edit page again >> click on the report name >> paste the query into the query section and save the page. Run the application again, it should work.
I guess when you have generic column selected the default format get corrupt and does some weird behavior.
Hope this will help.
Thanks,
M Tajuddin
http://tajuddin.whitepagesbd.com -
Interactive Report Column Headings and Row Height
I am using the div style="width:350px;" method to control the width of columns in various interactive reports. That works fine except for the following:
1. When creating filters, the <div...> stuff shows up along with the actual column heading, thus confusing some end users
2. Even when I uncheck the "Use same text for single row view" checkbox and then provide a simple single row view label, the <div> stuff still shows up on the single row view
Does anyone have a better solution?
Also, does anyone know of a way to limit the row height within an interactive report row? I have some columns of data that contain a large amount of HTML data and I'd like to be able to limit the number of rows that show on the report.
Is Oracle planning to provide some better control over the Interactive Report columns in another version? The Interactive Report is such a huge improvement in usability in APEX - it would be great to take it to another level by providing some better control over column width and row height.
Edited by: DaleB on Jun 18, 2009 8:54 AM
Edited by: DaleB on Jun 18, 2009 8:54 AMDale,
Unfortunately we don't have much we can use to do what you would like. I would have said it's impossible until version 4 but you could actually do something similar to what Roel has done. His trick is in the edit button. He changed the edit button to use an "onload" call to a JavaScript process. You could do the same but call a process that goes across the rows and styles each column. Now because you don't have a way to identify the column (can't use the order because the end user could change it) you'll have to write the code to look at the top row first and then style the appropriate column. As far as I can tell, this would be quite difficult and inefficient. Having said that if you need it that bad and would like some help with it, put up an example application on apex.oracle.com and provide the workspace/username/password and I'll take a look.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
You can reward this reply by marking it as either Helpful or Correct ;-) -
Report Column Conditional Display
Hi,
After reading a load of other posts, it seems like there is no way to have a column display conditionaly based on the other column values.
What I am trying to acheive is when an "Already Authorised" column is set to N, a link column displays with an "Authorise" button.
What I did previously was always show the button and just not process anything (conditional on the process)
I think I can acheive what I want by building up a link in my report query
SELECT CASE
WHEN chk_tab.completed_flag = 'N' THEN '<a href="&MYAPPID. other url stuff"> Authorise </a>'
ELSE ''
END edit_link,What I don't know how to do is either build up the href string? Or is this necessary, can I somehow just submit the page with a request from it?
Thanks
RichardBy accident, I managed to find a perfect solution for this...
http://htmldb.oracle.com/pls/otn/f?p=31517:24:104884642096669
Denes has written a nice function to generate a URL for a report.
So I now use
SELECT CASE
WHEN chk_tab.completed_flag = 'N' THEN return_link_fn(54,'P54_MYITEM',chk_tab.column_value)
ELSE ''
END edit_link
from chk_tabWorks a charm!! :) -
BUG: Dynamic report column headings not working with some templates
Using Apex 2.0, we are trying to create a vertical report with dynamic labels like &P26_REF_RECEIVED_DATE_L. based on items populated by PL/SQL.
This seems to work fine for some templates but not for others. With a horizontal report template we get output like:
<th class="t4ReportHeader" id="REF_RECEIVED_DATE">Received</th>
<td headers="Received" class="t4data">29-MAR-2007</td>But with the vertical template we get:
<th>&P26_REF_RECEIVED_DATE_L.</th><td>29-MAR-2007</td>Also, if we use "default: vertical report, look 1" we see "&P26_REF_RECEIVED_DATE_L." in the output, but with "default: vertical report, look 2" we see "Received".
Message was edited by:
Tony Andrewshave you checked that your report template has a
valid value for the "Column Heading Template"
property?This template has nothing in the "Column Heading Template" because it is designed to show the data in this form:
Heading1 - Value1
Heading2 - Value2
Heading3 - Value3
Hence both the heading and the data appear in the "Column Template 1" property as follows:
<tr><th class="t3header">#COLUMN_HEADER#</th><td class="t3data">#COLUMN_VALUE#</td></tr>
Maybe it is an Apex limitation that the #COLUMN_HEADER# value can't be accessed from this subtemplate? Yet somehow it works with "default: vertical report, look 2" (which I realise isn't a template as such).
Maybe you are looking for
-
How to install the JDI and what re the prerequisites
Hi All, Anybody tell me , AS iam new to the SAP NetWeaver How to install the JDI, I have got one document in sdn . It has given the prerequisite as. Complete installation of DI (CMS, DTR, and CBS) on SAP J2EE Engine Should i install all the above co
-
SB Audigy Series Support Pack 5.3 (02/24/2015)
This software/driver pack is unofficial, not supported by Creative Labs. Use it at your own risk. Supports any model of the following Sound Blaster cards (based on Emu10kx DSP): - Audigy - Audigy 2 - Audigy 2 ZS - Audigy 4 - Audigy 5/RX For Audigy SE
-
My touch screen fell victim to the same issue many people have with this phone - the touch screen has become only effective for very limited items - mostly just Contacts. I've tried bluetooth and plugging in the phone, shutting it down and repowering
-
Error while generating forms library files
Hi, I am trying to apply patch 7651091 as a prereq for 11845888, but it got failed with message The following Oracle Forms objects did not generate successfully: au resource JTFGDIAG.pll au resource JTFSCGNT.pll au resource JTF_GRID.pll au resource A
-
Ok so i have a 52 inch Samsung lcd...until a couple of hours ago everything was working perfect. I had my macbook closed, connected to the LCD, and i was using apple's bluetooth keyboard and mouse and it was just working perfectly. About 2 hours ago