Column header customization using rowspan and colspan

Hi,
I want to implement customized column header using rowspan and colspan.
This can be done in html easily but not sure how I can implement in HTML DB.
Anybody has idea?
Thanks in advance,
<table border="1">
<!-- begin header -->
<tr>
<td rowspan="2">COL1</td>
<td rowspan="2">COL2</td>
<td rowspan="2">COL3</td>
<td colspan="3">COL4</td>
<td colspan="3">COL5</td>
</tr>
<tr>
<td>COL4-1</td>
<td>COL4-2</td>
<td>COL4-3</td>
<td>COL5-1</td>
<td>COL5-2</td>
<td>COL5-3</td>
</tr>
<!-- begin data -->
<tr>
<td>VALUE1</td>
<td>VALUE2</td>
<td>VALUE3</td>
<td>VALUE4-1</td>
<td>VALUE4-2</td>
<td>VALUE4-3</td>
<td>VALUE5-1</td>
<td>VALUE5-2</td>
<td>VALUE5-3</td>
</tr>
</table>

Thanks Raj,
you'd want to do this kind of formatting from your report template. we have a technote out on report templates at...
http://www.oracle.com/technology/pub/notes/technote_htmldb_format.html
...and, so you know, you'd want to enter your custom col header html into the "Before Rows" field of your template definition screen (kinda like step 8 that's above Figure 5 in the technote).
hope this helps,
raj

Similar Messages

  • HTML rowspans and colspans...good or bad?

    Okay, so I gathered pretty early on that the layout mode in
    Dreamweaver was messy...however I never really understood why.
    My HTML theory was learned through Dreamweaver not old school
    hard coding.
    Then I found a nice little posting on the use of Spans:
    http://apptools.com/rants/spans.php
    I believe this is the major flaw in the use of the Layout
    mode, am I correct in this summation?
    The poster suggests using nested Tables to securely lock down
    the width and height of your tables/cells.
    My question is, which poses the greater problems: having Rows
    explode or Columns? I always thought HTML likes to "grow"
    horizontally if it needs to, and that height could be "locked" down
    fairly easily.
    Secondly, should the merge/split cell feature in standard
    mode be avoided as well? I gather this introduces the same issues
    with Rowspan and Colspan.
    So finally, is it ever wise to use Rowspan and Colspan? One
    can overdue it with nested tables as well I imagine?

    > I believe this is the major flaw in the use of the
    Layout mode, am I
    > correct
    > in this summation?
    Yes.
    > My question is, which poses the greater problems: having
    Rows explode or
    > Columns? I always thought HTML likes to "grow"
    horizontally if it needs
    > to, and
    > that height could be "locked" down fairly easily.
    That's incorrect. Table height is invalid HTML - always has
    been.
    > Secondly, should the merge/split cell feature in
    standard mode be avoided
    > as
    > well?
    Yes, unless it's used very sparingly to accomplish a specific
    task.
    > So finally, is it ever wise to use Rowspan and Colspan?
    I could say no, but there are times were merging adjacent
    cells can be
    useful. However, I generally say this -
    Instead of merging cells horizontally, terminate your table
    and start a new
    one. Instead of splitting cells horizontally/vertically, nest
    a new table
    with the desired structure.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "stickers11" <[email protected]> wrote in
    message
    news:[email protected]...
    > Okay, so I gathered pretty early on that the layout mode
    in Dreamweaver
    > was
    > messy...however I never really understood why.
    > My HTML theory was learned through Dreamweaver not old
    school hard coding.
    > Then I found a nice little posting on the use of Spans:
    >
    http://apptools.com/rants/spans.php
    > I believe this is the major flaw in the use of the
    Layout mode, am I
    > correct
    > in this summation?
    > The poster suggests using nested Tables to securely lock
    down the width
    > and
    > height of your tables/cells.
    > My question is, which poses the greater problems: having
    Rows explode or
    > Columns? I always thought HTML likes to "grow"
    horizontally if it needs
    > to, and
    > that height could be "locked" down fairly easily.
    > Secondly, should the merge/split cell feature in
    standard mode be avoided
    > as
    > well? I gather this introduces the same issues with
    Rowspan and Colspan.
    > So finally, is it ever wise to use Rowspan and Colspan?
    One can overdue it
    > with nested tables as well I imagine?
    >
    >

  • Rowspan and Colspan with h:datTable

    Hi,
    How to apply Rowspan in h:dataTable so that I can merge some of the columns in one row.
    I couldn't find any implementation of rowspan and colspan with h:dataTable.
    KP

    Why would you want to do that? the data table repeating every row, so if you combine 2 columns on 1 row, then it'll combine them all for all row. I think what you want is for gridpanel. This is not possible right now I think, but you can use plan old html for this. Mixing Html and JSF to get what you want.

  • ALV column header with multiple rows and ALV column header span

    How could I have in an ALV a column header on several lines and/or a column header that spans on multiple columns?
    i.e. I would like to have in an ALV two columns, each with it's own distinct header and additionally another column header for both of the columns, that spans across both columns. How could I program this?

    Hi,
    follow below mentioned code
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    Regards,
    Srini.

  • FSG column heading customization

    Hi,
    I am building a business report that gives PTD, YTD for associaited cost centre using FSG based on configured budget(eg MY Budget) and available actuals.
    "My Budget" is passed as Control Input as there are several types of budget defined. Now what i want is to display in column header "My Budget" which is selected as part of control input for the report.
    Could someone help me on this?
    Many Thanks

    I found the way to customize it by using &BUDGET1... Earlier i was trying &Budget1 but it seems it is casesensitive!!!.
    Many Thanks

  • TableView columns headers customization using CSS

    Hi,
    I'm trying to customize the TableView columns headers using CSS, but up until now, I was not able to find the CSS class name for the previously mentioned elements.
    Can anyone point me to a document or link where I can find all the available CSS classes for TableView and, why not for all the JAVA FX 2.0 widgets.
    Thanks,
    Alin

    Here's the Oracle CSS Reference guide for JavaFX:
    http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html#tableview
    You can also look at caspian.css inside the javafx runtime as it is the default CSS sheet for JavaFX applications and is a good place to see a lot of the style classes in use. The particular class you want is .table-view .column-header{} for individual columns or .table-view .column-header-background{} for the whole table header in general. Hope that helps.

  • 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,
    RAKESH

    Hi,
    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

  • Wrap report column header when using heading type : Column Names

    The headers for my report is actual data from the database. In order to get it to work I'm using aliases on my columns that correspond to the header name that I want. However, I have been unable to get the headers to wrap. I have tried using <br> and chr(10) but it seems to be stripping them out since it's a column alias. Any ideas? Region source is listed below...r1.fc_desc is the column header that I need to have wrapped.
    declare
    v_sql varchar2(4000);
    v_sql2 varchar2(4000);
    cursor c1 is select distinct fc_code, fc_desc from
    [email protected] where FG_ID=v('G_FINANCIAL_GROUP') order by fc_desc;
    begin
    for r1 in c1 loop
    if v_sql is null then
    v_sql:='select to_char(trans_week_end_thur,''mm/dd/yyyy'') as "Week Ending",sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
    v_sql2:='select ''Average:'' as "WeekEnding", avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
    else v_sql:=v_sql||' ,sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
    v_sql2:=v_sql2||' ,avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
    end if;
    end loop;
    if v_sql is null then
    v_sql := 'select ''No records found for weekly analysis by insurance class for this financial group '' as " " from dual;';
    else
    v_sql:= v_sql||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur';
    v_sql2:=v_sql2||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur;';
    v_sql:=v_sql||' union '||v_sql2;
    end if;
    return v_sql;
    end;

    I've resorted to creating a separate function to return a colon-separated list of column names, in which you can include a br tag or whatever, until I get a chance to research this more thoroughly.
    I thought it would just be a case of asking APEX not to strip the HTML, but it's clearly not as simple as that.
    Regards,
    John.

  • Multiple Column Header in Report (BEx and Web Reporting)

    Hi All,
            I've a requirement where my reports is having multiple column header.
       To be precise the column header is further divided into many sub-columns (upto 4 levels).
    Structure cannot help in this case since we have more than 2 such columns and we are using web reporting as well.
    Here is how it looks
                             <b>Header-A</b>
    Header-B1   |   Header-B2   |   Header-B3    |  Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    The above is a sample header structure.
    This report will be a Web Based report and I need to know whether its possible to do it in BEx also.
    We are not using Crystal Reports.
    If there is any document related to this, please mail to
    [email protected]
    Thanks & Regards,
    Chandran Ganesan

    Hi Chandran,
    I hope i am getting your problem right.
    If your
    Header-B1 | Header-B2 | Header-B3 | Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    are a set of key figures, then there is an option.
    For example:
    You drag Header-B1,Hdr-C1 |Hdr-C2
    into column section.Right click on Hdr-C1, Hdr-C2 and select down under. So your Hdr-C1, Hdr-C2 will be under
    Header-B1.
    Like wise drag Header-B2,Hdr-D1,Hdr-D2
    Right click on Hdr-D1,Hdr-D2 and say Down under and these two will fit below Header-B2.
    You can repeat the above steps for Header-B3... Header-Bn
    The output will be same as the one you have specified above.
    Hope it helps,
    Regards,
    Parth.

  • Interactive Report Column Heading Filters using LIKE instead of =

    Still on APEX 3.1
    I have an inter active report with a column Like Below
    select case when trunc(c.resp_contact_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_contact_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_green.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    when trunc(c.resp_attempt_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_attempt_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_yellow.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    else '<img src="/i/contact_1_red.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">' end as Contact,
    This column header has an User defined LOV
    select '%green%' d,
    '<img src="/i/contact_2_green.png">' r from dual
    Union select '%red%' d,
    '<img src="/i/contact_1_red.png">' r from dual
    union select '%yellow%' d,
    '<img src="/i/contact_2_yellow.png">' r from dual
    When user select my Red image from the column header link
    the filter generates where contact = '%red%' This fails
    Is there a way to generate the filter contact like '%red%' without the user having to change it to like.
    Is this possible in 4.0?

    I am assuming Because of the crickets either I am doing my SQL to incorrectly and there is a better way to return get a popup with a changing image into an interactive report
    or
    There is no way to do what I am trying

  • SSIS : How to create Column Header dynamically using expression in Flat File Source

    Hi Team,
    I need to keep configured Header Names for columns, Is there is any way to set each column name from expression? or is there is any other way?

    Nope
    But you could add a dummy row to your source to include column headers and then use options column headers in first row in flat file connection manager.
    So suppose you've three columns column0,coulmn1,column2 and you want to make it as ID,Name,Datethen make source query as
    SELECT 'ID' AS Col1,'Name' AS Col2,'Date' AS Col3, 0 AS ord
    UNION ALL
    SELECT Column1,Column2,Column3,1
    FROM YourTable
    ORDER BY Ord
    then choose  column headers in first row option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Specifying rowspan and colspan in XML

    Hi All,
    My aim is to transform a XML file which contains description about input( text, button, checkbox etc) tags, rowspan, colspan, maxfield size etc into HTML tags.
    How should I specify all these attributes rowspan, colspan, maxfield size in XML to transform it into HTML.
    Which parser is going to do all these things?
    Thanks and Regards
    Vinay

    I would suggest using XSLT to transform XML into HTML.

  • Dynamic values for column header / "AS" using XMLFOREST

    Hello,
    I was wondering if it was possible to show data from a select statement into an AS column, e.g. SELECT col.a AS col.b.
    The reason I need this is for XMLFOREST, as I need the value of a SELECT statement to be the column name, so that it will be the value of the element. e.g. <col.b></col.b>
    Anyone know if/how I can do this?

    SQL> ed
    Wrote file afiedt.buf
      1  WITH t AS (SELECT 'fred' name FROM DUAL UNION SELECT 'bob' FROM DUAL)
      2* SELECT XMLELEMENT(EVALNAME name, name) FROM t
    SQL> /
    ERROR:
    ORA-19039: Keyword EVALNAME reserved for future use
    no rows selected
    SQL> ed
    Wrote file afiedt.buf**** Throws a bit of magic dust into SQL...... ****
    SQL> WITH t AS (SELECT 'fred' name FROM DUAL UNION SELECT 'bob' FROM DUAL)
      2  SELECT XMLELEMENT(EVALNAME name, name) FROM t
      3  /
    XMLELEMENT(EVALNAMENAME,NAME)
    <bob>bob</bob>
    <fred>fred</fred>
    SQL>This is an example of what you'll be able to do with 10.2.0.2 when it's released

  • Create Column Heading and Mathematical Expressions?

    Is their a way to create your own column heading to use later in a Smart Playlist? Also, can mathematical (+,-,*,/...) be used in it's creation?
    I'm trying to create a column heading (variable) that would display (for each song) the ratio of Play Count / Skip Count. If that ratio is >1, then it's something I tend to listen more than skip. The reverse is true if it's <1. I can use this in a Smart Playlist to filter songs going to my iPod (by checking that playlist to be downloaded to my iPod) to those that I listen to most.
    Any help would be appreciated.
    Message was edited by: luke1012

    As I said earlier, you have to use double-quotes when you create object :
    SQL> create table emp( "Name" varchar2(20),"Age" number(2));
    Table created.
    SQL> desc emp
    Name                                      Null?    Type
    Name                                               VARCHAR2(20 CHAR)
    Age                                                NUMBER(2)Once more, why wanted such thing ?
    See here below the inconvenient :
    SQL> select name, age from emp;
    select name, age from emp
    ERROR at line 1:
    ORA-00904: "AGE": invalid identifier
    SQL> select "Name","Age" from emp;
    no rows selectedBetter to avoid it.
    Nicolas.

  • Adding Date to Column Header

    Hi
    I'm having some issues getting a date into a column header for a tab report I am creating.
    this thread
    Re: sysdate in region header
    suggested using a hidden item and having a pl/sql function body and including the item in the header.
    So I set the Column title up with "Outdoors <br> &P1120_DISPLAY_DATE"
    In the item source I set
    begin
    :P1120_DISPLAY_DATE := sysdate;
    end;
    However I end up with a syntax error message when the page starts to draw ...
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      ERR-1020 Error in PLSQL item processing (function).
    When I just use sysdate as a test method ( no additional pl/sql) the error goes but the item does not appear to be set. In the Column title I get the item name not the value.
    I wanted to have the column set to Outdoors <br> 12-Mar-05
    Appreciate some guidance on this one.
    Stephen

    Thanks Denes
    That sorts the item out but I can't get it into the column header.
    My item is called P1120_Display_date.
    I have the report column header set to Custom , and the code in the header is
    Col1 < b r > &P1120_Display_date
    and apart for doing the line break thats how it displays. I'm sure its possible I just can't seem to get it.
    Cheers
    Stephen
    Message was edited by:
    StephenP

Maybe you are looking for

  • Sharing two iTunes Libraries for different user accounts on one Mac

    How can I upload or share my wife's iTunes library? She is listed as a different end user on the same Mac as I use but we have different libraries. If I sync my iphone to her account, will it erase my existing applications and downloaded songs? Also,

  • Duplex printing. No dialog window on the HP LaserJet 1020

    I'm running WinXP Pro, but I think it doesn't matter so much, because I've used duplex printing on it for a year without any problems. But now the dialog window, which must appear while using duplex printing is gone When the Print on both sides instr

  • What steps to upgrade panther on imac

    I want to upgrade an old imac 350mhz (Indigo, slot loader with 192 mb ram) with Panther retail disks. It's only for internet use by my infant children to access their school website etc. I've carried out quite an exhaustive search over this forum to

  • Alternative to Observable

    Hi, I have a class that already extends another class, therefore I can't also extend the Observable class. Is there an alternative way of tracking changes to an object? Thanks for your help. Shaun

  • Compatability with Nikon D800

    I imported my D800 nef files into lightroom 4 and found that you can't then open them in photoshop CS5. I then tried opening them directly into photoshop and that didn't work either. On spec I re imported the files into lightroom but converted them t