Skip to Content

overflowContainer strategy for different screens

I have a general problem with the height of overflowContainers.

Usually, I have a kind of header on my bsp page with a fixed height, while the rest of the screen is available for the accplication data itself.

If I want an overflowContainer to be as big as the remaining screen without the header, i don't know how to set the height.

If I set a fixed height, I can only optimize for a certain screen resolution.

On the other side, if I set height="x%", I don't know how many percent of the screen the header takes.

What could I do?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2005 at 01:51 PM

    Hai Daniel,

    I faced the same problem with the overflow controller.

    Then depending on the number of records that I am showing in the table I have adjusted the size of the overflow controller in pixels.

    my code looks some thing like this.

    lv_oflc_height = 53 + ( lv_actual_visible_rows * 21 ).

    if the filter is on 20 more pixels added to the height.

    <xhtmlb:overflowContainer id     = "OFLC_RCN_HDR"
                                height = "<%= lv_oflc_height %>px"
                                mode   = "SCROLL" >

    and this worked for some standard resolutions with out big difference.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.