How to fix column headers in Portal

Hi Guru's,
do you know is there a way to fix the report headlines like in Excel.
E.g. I have a report with about 2000 rows and when the user scrolls down the headlines are out of the screen and he doesn't know what is in which column.
So, we know about the possibility to restrict the rows per page to 20 rows or whatever, but then the jumping from side to side takes too much time.
So, is there a possibility to "fix the cells" like in Excel, so the User scrolls down and always sees the column headers?
Thanks in advance!
Sandra

In 7.0 Analyzer, open the workbook and go into Designer Mode.  Double-click on the analysis grid to bring up the properties screen.  Under the range field, replace the 2nd row number to the row where you want to limit the table.  Then go to the tab called Clipping, select "Scroll and Keep Lead" under Vertical.
Dunno about 3.5.
Edited by: Andrew Zhou on Jul 17, 2008 9:25 AM
Oops you wanted to do this on web, not the other way around.  In WAD 7.0, open the web template (if you're using standard template, it's 0ANALYSIS_PATTERN).  Select the analysis grid and go into it's properties, change the "Number of Data Rows Displayed at Once" to your liking.

Similar Messages

  • Fixing column headers in JSF

    How do I fix column headers when displaying tablular data using JSF? Currently, when I scroll down the column header disappear.

    The articles under the Table Component section will help you
    http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp
    also see winston's blogs for all tweaks with tables
    http://blogs.sun.com/winston/
    Thanks
    K

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to implement fixed column headers

    Hi Gurus,
    I got a requirement to show a fixed column header in a sql reports. That means no matter how many rows the report returns, when scrolling down, the column headers are fixed and appear on the top.
    Anybody has any comments on this? If I'm not making sense, let me know and I can explain further.
    Thanks in advance.

    Hello Carl,
    Thanks for responding!
    I just realized that I did not include my name in my prior post, its Kyle, sorry about that. I also do not necessarily have an example code to show you, let me explain:
    I am very much a newbie to the HTML environment. Amazingly, I was able to apply a code that would facilitate a scroll bar in my report. This code was applied to the template called Reports Region in the section entitled Definition, it basically looks like this:
    <style>
    .RegionScroll
    width:950px;
    height:225px;
    overflow:auto;
    border:solid 0px;
    </style>
    My next feat was to figure out how to fix the column headings, here is were….. well basically I guessed. First; I looked at the website describing how to implement this in three steps, to be functional in both IE and Fire Fox. I was not sure exactly were to apply the script provided, so I made a logical guess and dropped it in to the same area as my previous code. When I went to view the page the code line:
    onload="MakeStaticHeader('TableId','150px')"
    showed up at the top of the page (no Java script error presented itself). I concluded that I either have the wrong programming syntax, its in the wrong template and or template section. To complicate matters I have no idea of how to identify the correct TableId. I did look to view the HTML source code of the page, but found several candidates with the prefix "ID=".
    Quite honestly, without a good formal understanding of HTML or CSS programming techniques, I may be biting more off than I can chew. If this is the case then would you be kind enough to point me in some direction that might help me get over this hurdle.
    Thanks again for the response.
    Kyle

  • How to freeze column headers?

    How can I freeze the column header so it doesnot disappear when I scroll down. I am using JSF and tomahawk <t:dataTable> in am application

    This is not possible with JSF. It is also not possible with normal HTML.
    Fixed column header is easy using a few CSS lines, but this won't work in a certain widely used web browser developed by a team in Redmond. You'll have to look in the Javascript+DOM corner for the solution then, but this won't work if the client disabled Javascript in their browser (although this would cover less than 1% of your target group I guess).
    Here are some straightforward Google hints:
    [http://google.com/search?q=scrollable+table+fixed+header]
    Good luck.

  • How to fix column / row as "header" in WAD (Web item Analysis) ?

    Hi,
    is there a possibility to fix a column or row as "header" in web item analysis? (like freeze panes in excel)
    When scrolling down, the header should always be displayed.
    Thank you very much in advance, best regards
    Frank

    We did a custom proof of concept on this back in 3.5 using CSS and/or javascript. At that time there was no BW solution for this.
    Don't know if 2004s has this ability or not. Here's a link to an example that shows how it can be done using CSS:
    http://home.tampabay.rr.com/bmerkey/examples/locked-column-csv.html

  • How to set column headers in Mail on MacBook Pro?

    In Mail on my MacBook Pro I have a number of columns set as a default view in Mail - To, Subject, Date etc
    I want to add Mailbox (as I have more than one mail account) as a default header.
    When I right click on the header bar and add it, it works but next time I log on it's gone again.
    How do I add Mailbox as a column permanently?

    Can anybody help me with this?
    I anticipated it would be quite a straight forward issue.
    I presume I've posted it on the right forum but please advise if not.

  • HOW TO FIX COLUMN IN BEX REPORT

    Hello Gurus,
    I have created BEX report in which user want 1st two column (Material and its describtion) to be fixed as if he want to check all relavent result related to Material the first 2 column should not be move it should be fixed and rest other results and other column should move,

    Hi Wajid,
    The VBA code i gave earlier will do this automatically for your users. Please use it. It freezest columns A and B so that columns A and B dont move even if your users scroll to the right. It just stays there.
    In your workbook after you have inserted your query, go to Tools->Macro->Visual Basic Editor. Then go to Insert Menu->Module. Double click the module that have been created (probable name is Module1) and then on the code editor paste this code:
    Public Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
       Range("C1").Select
       ActiveWindow.FreezePanes = True
    End Sub
    Everytime the users refresh your query it will freeze the first to columns. So at least you are sure that the columns A and B are frozen.

  • How to fix column width in a report

    Hi all,
    i have to set the width of a column of a report of mine fixed and to have text wrapping inside of it.
    i would prefer to avoid to modify the theme (that might involve other item) and i wanna work just on that report.
    i've tried to create a new template (Report Region Wrap) and i guess i'm supposed to set something like:
    SPAN STYLE="white-space:nowrap"
    but i don't know where...
    This is the "definition" of my template:
    <table cellpadding="0" cellspacing="0" border="0" summary="" class="t9GCCReportsStyle1" id="#REGION_ID#">
    <tr>
    <td valign="top">
    <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="">
    <tr>
    <td class="t9RegionHeader">#TITLE#</td>
    <td class="t9ButtonHolder">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##HELP#</td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td class="t9Body">#BODY#</td>
    </tr>
    <tr>
    <td class="t9RegionFooter"></td></tr>
    </table>
    i've already tried putting it in <td class="t9Body" ... > but with no results.
    thankx a lot,
    matte

    I had the same problem and searched the forum I came up with the following conclusions.
    </div>
    </div>
    The ability to use the CSS is determined in the template.
    The template must allow wrapping for this to work.
    </div>
    </div>
    I got my columns (columns of varchar2(500) the wrap and split words at white space.
    </div>
    </div>
    I added</div>
    </div>
    <style>
    </div></div>
    .t12data{white-space:normal !important;}</div></div>
    .t12dataalt{white-space:normal !important;}</div></div>
    </style></div></div>
    to the Page / HTML header
    </div>
    </div>
    and added
    </div>
    (removed < for formatting)div style="width:100px; white-</div>space:normal">#column_name#</div(removed > for formatting)
    </div>to column_formatting / html_expression
    </div>where 100 is the pixel with
    </div>and column_name is name of the souce item
    </div>I am using theme12 (blue) / report Standard, Alternating Row Colors
    </div>and didn't want to change the template as it is being used in other apps.
    Message was edited by:
    rbackmann1
    null

  • Fixed jtable column headers

    Does anyone have an example of fixing column headers for a JTable. Basically I want the column headers to be displayed when scrolling down the table.

    check the examples provided in "How to use table" -
    "http://java.sun.com/docs/books/tutorial/uiswing/components/table.html"
    The tables have fixed column header when u scroll down..

  • Interactive report Column headers

    Hi ,
    I am using apex 4.2,
    My IR report contains more than 500 rows , so when I scroll down , I am unable to see the column headers.
    How to make column headers to be visible even when I scroll down.
    Please guide me to achieve that .
    Thank you,
    Nihar Narla.

    There is/was a plug-in (IR Plugin Package) that claims to support this.
    See: http://apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/ir-plugin-package_108.html
    I've never used it myself.
    (more) PARS has also pointed out the following: http://theapexfreelancer.com/apex/f?p=APEXFREELANCER:IR_PLUGIN_PACKAGE:0
    Howard

  • How to fix Width of column in classic report.

    Dear Friends
    i am using Apex 3.2.
    i have created Clasic Report and i have summary column in my report that column have description of issue so i want to fix width of that column nn Classic report .
    i have try some code in html expression
    <span>style="width: 480px; display: block; white-space: normal; font-size: 11px;">#ACTIVITY_SUMMARY#</span>
    {code
    after apply abovemention code that display me in my summary like this and not manage width of column.
    style="width: 480px; display: block; white-space: normal; font-size: 11px;">Dear Cherryl, Greetings !! Thank you very much for the new query and we are pleased to confirm the availability of one single cabin in all the three categories of cabin on M.V. Mahabaahu. We would like to inform you that both the departures 15th Oct 2013 & 29th Oct 2013 (Golden triangle with Cruise) are operational and attached are the prices for your kind consideration. As a special promotion for the 15th Oct 2013 departure only, we are offering USD 100 per person reduction on the Golden triangle portion combined with the cruise. Kindly review and advise us to block the accommodation accordingly. Regards...pankaj
    How to fix Width of column in classic report.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I'm working an example in APEX 4.2 so YMMV (your milage may vary!).
    For Classic Reports, where the Column Attributes "Display As" is set to Display as Text (escape special characters ...:
    1) I find that Column width and Element Width setting have no effect to make the column smaller or larger.
    2) Here is one way that works:
    - In the Region's Region Definition, under Attributes give the Static ID a name (no spaces), say, class-report.
    - In the columns you want to affect, place "&#60;div>#ENAME#</div&#62;" in the columns Column Formatting "HTML Expression". Where "ENAME" here is the actual column name.
    I'm using the EMP table as an example.
    - Finally, in the page's HTML Header put, for example
    <style>
    #classic-report td.data[headers="ENAME"] div {
      width: 200px;
      color: blue;
    #classic-report td.data[headers="JOB"] div {
      width: 50px;
      white-space: nowrap;
      word-wrap: break-word;
    </style>This makes the ENAME column wider and the JOB column smaller and wraps it.
    Much more could be said. If you tweak you will find you can also affect spacing above, below and right/left of the data.
    #classic-report .report-standard th.header {
      border-left: #9fa0a0 1px solid;
      padding: 2px 3px 4px 5px;   /* top right bottom left margins */
      font-size: 11px;
      font-weight: bold;
      vertical-align: bottom;
    #classic-report .report-standard td.data {
      border-left: #9fa0a0 1px solid;
      padding: 3px 4px 5px 6px;
      font-size: 9px;
    }Does this help?
    Howard

  • How to have sticky column headers in a large list?

    I have a list in sharepoint 2013.  It was created from a Microsoft Access database and so it displays like a spreasheat type list.  It is quite large and it would be nice to make the column headers "sticky" so that when you scroll down
    the page/list you can tell what the data type (header) is for the data you are looking at.
    Kind of like in excel when you do a "split" is what I am looking for .....
    Any help greatly appreciated.
    Ray

    Hi Ray,
    Please see this thread which is the same you are looking for.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/95018474-2a4e-4bb5-9786-f3895ff17eee/how-to-fix-custom-list-header-when-i-scroll-down-the-list?forum=sharepointcustomization
    Please let us know in case you face any issue while implementing this.
    Regards
    Krishana
    Krishana Kumar http://www.mosstechnet-kk.com

  • How to fix the column header

    Try to display something like this:<br><br>
    HA HB <br>
    A1 B1<br>
    A2 B2<br>
    <br>
    So I use:
    <div class="Show2Rows"><br>
    <table><br>
    <tr><br>
    <th>HA</th><br>
    <th>HB</th><br>
    </tr><br>
    <tr><br>
    <td><input ... value="A1" ></td><br>
    <td><input ... value="B1" ></td><br>
    </tr><br>
    <br>
    </table><br>
    </div><br>
    <br>
    The rule is: allow it to display ONLY two rows in the window. When more rows are added, a vertical scroll bar will be enabled. --And, yes, it works just as expected.
    The problem is that when more rows are added, when I scroll the bar downward, of course the rows will move up. When this happens, the Column Headers (HA and HB) will disappear. Obviously I need to fix the Column Headers.
    So question is: How can I fix the headers while still be able to scroll the data rows up and down?
    Thanks

    Dear Vam,
    you can easily do that with css, search the source code of the executed web template for the td tag which is around your coloumn header, remember the style sheet class name it is ´displayed as class= in the td tag.
    Now you can add this code the beginning of your web template:
    </style>
    This will only work in Web.
    Regards
    Marcus

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

Maybe you are looking for

  • A list of employees (a multi record block in a single record)

    I'm making a tasks form. Each task is assigned to a number of employees. I want to display my task details, and in the same form show a list of people who are assigned to it. What control do I display the employees in? Can someone please guide me in

  • Making portal services as web services

    hi,       i have created a portal service. i want to publish this as web service . anyone know how to do this ... padma

  • Transfer from ons subcontractor to another subcontractor

    What is the process for transferrring the material from one subcontractor(A) to another subcontractor(B) and to recive the material from Vendor (B). Initially we will issue the material to vendor A, and vendor A will produce the material say semi-fin

  • Apple TV as wireless router?

    Hello! I was looking to purchase the Apple Airport Extreme wireless router for my wifi setup at home. Then I noticed the price reduction of Apple TV (take 2?). Can the new Apple TV replace my old wireless router and provide all the computers (3) in m

  • No sound with my QuickTime

    I am so frustrated with QuickTime. No sound and I've tried the check the box thing. What do I need to do to get the sound to work? Apple needs to step up and fix this problem. Someone help. Please.