Skip to Content

sap.ui.table - not showing all rows

I'm having an issue where the sap.ui.table is not showing all the rows, specifically, the last few rows. I've noticed message boards point towards setting the rowHeight, but is there any cleaner solution? I want this to apply to many tables I use across many pages of the application. See the below detail:

Here's the last VISIBLE row - no additionally scrolling is possible.

Here's the actual last row when I manually change the "setFirstVisibleRow"

Any help would be much appreciated!

Add a comment
10|10000 characters needed characters exceeded

  • Here's a js code of the implementation - Additionally, I'm not using a container for for, and just returning - sap.ui.table.Table.

    oEPCTimelineTable = new sap.ui.table.Table("EPCTimelineProjectTable", {
          tableId: "EPCTimelineProjectTable",
          noData: "No Projects Found",
          visibleRowCountMode: "Auto",
          selectionMode: sap.ui.table.SelectionMode.None,
    			extension: toolbar,
          selectionBehavior: sap.ui.table.SelectionBehavior.Row
  • it is hard to help unless you share some code on your view implementation.

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 24, 2019 at 06:29 AM

    Hi Bruce,

    I had the same problem and, for me, it's not the table.
    For me is the cointener of the table (like <App> or <Page> or <ComponentContainer>)

    Could we see the xml code ?

    Thanks ;)

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sebastiano, from my notes above, I'm instantiating the table and using that as the layout. Is there a specific container that you suggest? When I've wrapped the table in "<App>" - i tend to lose the footer/formatting and then I'd have to set "visibleRowCount" on binding.

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.