Freeze header row using over overflow container
hi All,
I have an issue with my header in the gridlayout element, we are using the overflowcontainer element.
When there is a scroll bar and user scrolls, the header also scrolls, we want to just scroll the line items and the header should be frozen,
any suggestion please ?
Hi Friend,
You can achieve your requirement by using xhtmlb overflow container.Check the below link.
[link|Freeze header in BSP page which is using Grid Layout]
With Regards,
SHARMILA BRINDHA.M
Similar Messages
-
Q: Freeze header row in BI7 web template...
Hi Experts,
I have created a web template in BI7, and I would like to freeze the header row so that when I scroll down, I can still see the name of the different columns.
Does anybody know if/how this can be done?
Thank you in advance,
MikaelHi,
This will be implemented with SPS13.
https://websmp204.sap-ag.de/~sapidb/011000358700004483762006E
And before SPS13, i frame is useful to realize what you want to do. Using 2 "Analysis" web item. and display of 1st analysis web item is restricted only thin the header of the table and the 2nd Analysis web item is used as "table". display of this "analysis" is also restricted to 10 - 30 rows.
sample:
<body style="BACKGROUND-COLOR: white" >
<bi:QUERY_VIEW_DATA_PROVIDER name="DP_1" >
<bi:INITIAL_STATE type="CHOICE" value="QUERY" >
<bi:QUERY value="ZARQU1010" text="cost" />
</bi:INITIAL_STATE>
</bi:QUERY_VIEW_DATA_PROVIDER>
<bi:TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS" />
<p >
<strong >
<font style="BACKGROUND-COLOR: transparent" color="lightseagreen" >fix header</font>
</strong>
</p>
<div style="OVERFLOW: auto; WIDTH: 1000px; HEIGHT: 20px" >
<bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_2" designwidth="400" designheight="20" >
<bi:DATA_PROVIDER_REF value="DP_1" />
<bi:NEW_LINES_COUNT value="0" />
<bi:NEW_LINES_POSITION value="TOP" />
<bi:DATA_ROW_FROM value="1" />
<bi:DATA_ROW_TO value="0" />
</bi:ANALYSIS_ITEM>
</div>
<div style="OVERFLOW: auto; WIDTH: 1000px; HEIGHT: 200px" >
<bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1" designwidth="400" designheight="200" >
<bi:DATA_PROVIDER_REF value="DP_1" />
<bi:DATA_COLUMN_FROM value="1" />
<bi:DATA_ROW_TO value="0" />
</bi:ANALYSIS_ITEM>
</div>
<!-- insert data providers, items and other template content here -->
</body>
But note that this consume additional Java resource, see note 927530 BI Java Sizing.
Kind regards,
Masaaki -
Including both the Jquery script to calculate the total of calculated column and freeze header row
Hi
I managed to get this code from here,
http://techtrainingnotes.blogspot.in/2013/03/freezing-title-row-of-sharepoint-2010.html done on the page
I also managed to get this code from here, http://www.sharepointed.com/2012/11/28/jquery-total-calculated-column-in-sharpoint-2010/ done on another page.
However, I need this to be done on the same page. When I do this, I only get the freeze header thingy to be up and not the calculated column. Could something be blocking.Hi,
You take the code below for a try in your environment after modified it a bit to suit the structure of your page:
<script type="text/javascript" src="../../SiteAssets/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
// update the list after the page has loaded
_spBodyOnLoadFunctionNames.push("TTNListScroll");
function TTNListScroll()
// Scrolling list code from TechTrainingNotes.blogspot.com
// Edit the next line with your list's summary name
var SummaryName = "List28_frozenheader ";
var TTNmyTable;
var TTNListDiv = document.createElement('div');
var TTNHeadingDiv = document.createElement('div');
var tables = document.getElementsByTagName("table");
for (var i=0;i<tables.length;i++)
if(tables[i].summary == SummaryName)
TTNmyTable = tables[i];
break;
if(TTNmyTable == undefined)
// // Table not found!
// you may want to comment out the next line after testing
alert("table '" + SummaryName + "' not found");
return;
// make a copy of the table for the heading area
TTNHeadingDiv.appendChild(TTNmyTable.cloneNode(true));
TTNHeadingDiv.id="TTNheading";
TTNListDiv.appendChild(TTNmyTable.cloneNode(true));
TTNListDiv.id="TTNlist";
TTNListDiv.width="100%";
// udpate the page
var TTNnode = TTNmyTable.parentNode;
TTNnode.replaceChild(TTNHeadingDiv, TTNmyTable);
TTNnode.appendChild(TTNListDiv);
// hide the heading row of the main list
TTNListDiv.childNodes[0].rows[0].style.visibility='hidden';
// make the DIV for the heading the same width as the main list
TTNHeadingDiv.childNodes[0].style.width = TTNListDiv.childNodes[0].offsetWidth;
getSum(3);
//pass the column number to this function
function getSum(col)
var m = "$"; //change to "" for non-money format
var arrayList = $("table.ms-listviewtable:first> tbody> tr:gt(0)").find(">td:eq("+col+")");
var x = 0;
var p1 = "";
var p2 = "";
$.each(arrayList, function(){
//console.log('$(this).text(): '+$(this).text());
x += Number($(this).text().replace(/\$|,|\)/g, "").replace(/\(/g,"-"));
//console.log('x: '+x);
//format for negative numbers
if (x < 0)
p1 = "(";
p2 = ")";
x = Math.abs(x);
$('#diidSortcal').attr('visibility','visible');
$('#diidSortcal').text($('#diidSortcal').text()+'(sum: '+x+')');
function addCommas(nStr)
//formats number
nStr += '';
x = nStr.split('.');
x1 = x[0];
x2 = x.length > 1 ? '.' + x[1] : '';
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1))
x1 = x1.replace(rgx, '$1' + ',' + '$2');
return x1 + x2;
</script>
<style type="text/css">
#TTNheading
height:28px;
#TTNlist
height:200px;
overflow-y:scroll !important;
overflow-x:auto
</style>
Then you might get something like this:
Feel free to reply if there are still any questions.
Best regards
Patrick Liang
TechNet Community Support -
Freeze header row panes in cross tab WEB Intelligence report
how do i freeze the crosstab header row in the WEB INTELLIGENCE report so that the header remains stationary /freezes at the top and the data can be independently scrolled.(similar to freeze panes in MS Excel).
please provide me with a Quick Solution since i am stuck on this task for quiet some time.Hi,
Prepare to be stuck no longer!
Sorry, this functionality is not available in webi..
This suggestion has been made multiple times in the Ideas Place : https://cw.sdn.sap.com/cw/community/ideas/businessanalytics/sbowebi
for example: https://cw.sdn.sap.com/cw/ideas/1664
please Vote it up. actually, i see it is in status "under review" so that is positive. No commitments to timeline for inclusion, so don't hold your breath!
Regards,
H -
Is there really no way to freeze the header row in an Apex interactive report? I've been trying for hours to find a way but nothing is working. This seems like such a basic function and I'm surprised its not built in. Any ideas?
Thanks,
-SteveMy mistake, did NOT follow through link.. There are OTHER alternative means to freezing a Report Header..: Re: Freeze Column
Thank you,
Tony Miller
Ruckersville, VA -
Hi InDesigners
I am wondering is there a way of excluding the first row in a header row when it breaks at the end of a page?
The reason I ask is that in the first row of every table header rows a caption is contained (for example "Table 1.1 Colours of Flowers") but that information does not need to be repeated on the second half of the table but the rows underneath the caption does. An example is shown below
Table 1.1 Colours of Flowers
Rose Violet Daisy
Red Purple Yellow
White
Orange
------- new page -----------
Rose Violet Daisy
Apricot
PinkHi Sorry for being unclear.
The image attached probably explains it better. See text in blue.
If I create a frame to hold the table the text wrap occurs nicely, however the TOC will be mis ordered. I don't know why -
Freeze Header Issue in BI4.1 SP2
Hi,
I have noticed that the freeze header doesn't work fine when in a report I have:
- section
- Outline active
- sections are collapsed
In that scenario the header of my table aren't freeze.
Someone else have noticed these behaviour?
Thanks,
LauraHi Laura,
Go through this video how Freeze header works in Webi 4.1
Freeze Header Rows or Columns: SAP BusinessObjects Web Intelligence 4.1 - YouTube
Web Intelligence 4.1: Freeze header rows or columns
http://webcache.googleusercontent.com/search?q=cache:itt9HuVru5sJ:www.sapimprovementfinder.com/public/index.php/note/exp… -
I lOVE freezing header rows to see them as I scroll down the page. I want to freeze the Footer row to see the same thing on a multi-page spreadsheet. How can I do this please?
b,
You can't freeze the Footer, but you can add another Header Row and put the Footer content there.
Jerry -
IR Report Freeze Column Header Row
In Interactive Report, Can we freeze the column header row ? This is a most wanted requirement asked by customers. More than 50 times requested in past month.
Please helpI have been playing with this problem and came up with this potential solution that has so far worked for me.
Caveats: I am new to this type of coding so check it carefully. It only works with Internet Explorer (its what we use at work). I hope to have a Firefox version someday. Some code used was found online. I gave it proper credit in my usage.
Instrcutions:
In the HTMLHeader of the Edit Page, paste the code shown below. It will lock/freeze the header of an interactive report and (optionally), any number of columns to the left of the report.
To customize it for your needs,
1. edit the line that reads: var LOCKED_COLUMNS=2; to reflect the number of columns to be locked (0 won't lock anycolumns)
2. edit the style section that reads:
<code>
div#apexir_DATA_PANEL
width: 300px; height=200px; overflow: scroll; position:relative; float:left;
</code>
to reflect the width and height for you scrolling window.
3. optionally turn of the pagination (under Pagination in the Report Attribute pagefor the region) if you want to scroll through your entire dataset without paging [possible performance implications].
I tested this with Apex 3.2 and with several themes (1, 3 and8). Hopefully it will work for you.
The code follows:
=====================================
<code>
<script>
// This code copied from: http://javascript.about.com/library/bldom08.htm
document.getElementsByClassName = function(cl)
var retnode = [];
var myclass = new RegExp('\\b'+cl+'\\b');
var elem = this.getElementsByTagName('*');
for (var i = 0; i < elem.length; i++)
var classes = elem.className;
if (myclass.test(classes)) retnode.push(elem[i]);
return retnode;
// End of code copied from: http://javascript.about.com/library/bldom08.htm
var LOCKED_COLUMNS=2;
function applyCSS()
var data_Table=document.getElementsByClassName('apexir_WORKSHEET_DATA');
var tr_Tags=data_Table[0].getElementsByTagName('tr');
for (var i=0;i<tr_Tags.length;i++)
var tab_Cells=tr_Tags[i].childNodes;
for (var j=0; j<LOCKED_COLUMNS; j++)
if (tab_Cells[j].nodeName != 'TD')
{ tab_Cells[j].setAttribute('id', 'Lock_Lateral_Vertical'); }
else
{ tab_Cells[j].setAttribute('id', 'Lock_Lateral'); }
window.onload=applyCSS;
</script>
<!--[if IE]>
<style id="Lock_CSS">
div#apexir_DATA_PANEL
width: 300px; height=200px; overflow: scroll; position:relative; float:left;
table.apexir_WORKSHEET_DATA th
position: relative; z-index: 14; display: table;
top: expression(document.getElementById("apexir_DATA_PANEL").scrollTop-3);
table.apexir_WORKSHEET_DATA td
border: solid 1px grey;
td#Lock_Lateral
background-color: #999999; position: relative; z-index: 15; display: table;
left: expression(document.getElementById("apexir_DATA_PANEL").scrollLeft-3);
th#Lock_Lateral_Vertical
position: relative; z-index: 21; display: inline;
top: expression(document.getElementById("apexir_DATA_PANEL").scrollTop-3);
left: expression(document.getElementById("apexir_DATA_PANEL").scrollLeft-3);
</style>
<![endif]-->
</code>
================================
ackness -
How to Freeze Table/Column Header "without using additional scrollbars" ?
hi people,
I am hoping someone can help me here. I have a large table and would like to freeze the first row. Scrolling down the table "_*using the existing scrollbars*_" in the browser while ensuring the header rows are still visible (like Excel when you freeze panes). If you scroll to the right the header rows should stay frozen and not follow.
I know there are other threads which talk about freezing table/column header, but my requirement is to have it "without using additional scrollbar".
Thanks in advance,
RAKESHHi,
there is no default key for this. You will have to code your own JavaScript for this. Also, I am not sure you want the column to be selected but a field in the column for the row you are in - correct ?
Frank -
How do you freeze a row or column which is not a header in Numbers '09?
Just wondering if anyone has worked out how to freeze a chosen row or column? I know you can do it with header rows, but the row I want to freeze is row 4. I'm using Numbers '09.
And is it right that you cannot link cells between different documents in Numbers, as I used to in Excel?
All help much appreciated!Using Numbers you cannot reference a cell in another document.
I do not think you can freeze non-header rows. You can make up to 5 rows part of the header:
Then freeze the headers. -
Freeze Column or Header row in Web report (NW04s)
Hi all,
there are lots of proposals on how to freeze (or lock) the lead column or the header row in BW3.x, but can't find any information on how to do it in NW04s Web reports. I believe you require some Java scripting. Any ideas?
I know you can do paging, but this is not good enough.
Thanks
C
PD: Points will be awarded!!Hello,
I am not sure but I read this some where ---> "There really is no suitable solution on the Web that mimics the functionality found in Excel. However, depending on the volume of data in your report, there are some satisfactory work-arounds. One is to use frames in your HTML page. You can type the static headings of your columns in the top frame, and scroll the report in the frame below. Not elegant, but it works. The second option is to maximize the number of data rows shown at a time, to say 25, and then use the BW navigation icons on the Web to flip pages, maintaining the headings. Both solutions require some work in the Web Application Designer. On a future note, there is a Web Analyzer available in version 3.5 that should replicate the freeze pane functionality from Excel. "
Try this out, this may help you..!
--> EnjoySAP:-) -
Table overflow, only header row fits on page, avoid header
Hello together,
I encountered the following problem with adobe forms. The form consists of a table with a header row and (for sure) a data part. The table is encapsulated on a subform. If the table doesn't fit on one page, it breaks correctly to the next page (including header).
Because the table is not the onliest content of my page, it could happen that only the header row fits on the first page. So after the header, I get a page break. Is it possible to avoid the output of the table on first page, if only the header row will fit on it?
Currently it looks like this:
FIRST PAGE
bla bla bla bla
bla bla bla
HEADER
<-- page break -->
NEXT PAGE
HEADER
DATAHello Niels,
thanks for you help. I tried a lot with the "Keep with:" options the last couple of hours and now I double checked the flags.
I missed the flag "Keep with: NEXT" at table header level. Now it works as expected.
The table is part of a subform of type "flow". For the subform, I also checked the Keep with flag becasue the subform contains more than just the table.
Now, if only the header row fits on the first page, the whole subform starts at the next page. If the table needs much more space, it correctly breaks at the end of the next page.
Thank you very much -
How can I freeze the header row in Numbers '08
Hello,
I've read through support communities and looked high and low through numbers, but can't seem to find a way to freeze my header row. Any ideas? Thanks!Hi April,
Upgrade to Numbers '09, where the feature was added.
The closest you can come in Numbers '08 is "Repeat Headers" in the Table menu, which will show the header row at the top of each page of the document as it would be printed.
Regards,
Barry -
How to freeze the report header row in the web template SAP BI 7.0?
Hello,
Can somebody tell me how to freeze the report header row in the web template SAP BI 7.0 (key fiigures1, 2,3)?
key figure1 key figure2 key figure3
20 30 40
30 80 90
ThanksHi,
You can refer the following threads...
Re: Create Scrollable Table Body in WAD - Locking Table Column and Header
Freeze Data Columns in WAD
This will help you!
Rgds,
Murali
Maybe you are looking for
-
i got a user that have issue export with media encoder when she encode she get this error any idea Thanks
-
How to read the contents of an object?
A method returns a collection of objects. I used Iterator to read an Object from Collection. Then I used Object.toString() to read the object. The output I get is something like this: com.regis.resp.RegistryError@1683e80[message=Parameter value polic
-
Cubase 4 or Logic 7??
Hi guys, ok so i know this question has been asked a lot. but i just need a simple answer, which is better...? Cubase 4 or Logic 7?? Getting a 20" iMac soon, and need some great software to compliment it so i can set up a little recording studio at m
-
Will time machine back up a second "internal" drive?
I have a Macbook Pro "late 2008" unibody. I'd like to eventually buy an SSD drive to use as my "boot up / programs" drive and then use my much larger conventional drive as a "data" drive which will reside where my superdrive was. Will time machine b
-
New to PSE7. I'm getting used to PSE7 and thought I saw an adjustment to screen brightness somewhere. Not image brightness and contrast. I'm trying to adjust my new LCD HP laptop monitor to be less bright and am having no luck finding a way to do tha