Skip to Content
0

Big Data array of sap.ui.table.TreeTable

Nov 21, 2016 at 12:53 PM

89

avatar image
Former Member

Can I show big data array using the UI5 tables (sap.ui.table.TreeTable)?

I got a simple example of my application (attached), I ran it in Google Chrome under 64bit Ubuntu 14.04. There are at least three issues:
1. Slow data showing. Adding the tables in 'press' handler takes itself 3.5s, but after that framework freezes browser at additional 15s (or 25s-35s Windows 7 x64 Chrome/IE 11). If I did not call 'oTable.bindAggregation' then adding takes only 3.5s without further freeze.
2. Slow page scrolling and handling. Some freezes appears when I scroll the page or the tables or moving the mouse cursor over the tables. Alse on scrolling Google chrome logs out "Handling of 'mousewheel' input event was delayed for 325 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responive".
3. Large memory consumption. After table filling Chrome tab get nearly 500M of RAM, (100M before filling).
To solve issue #1 I tried to add tables one by one vie setTimeout, and it helps unfreeze browser while main loop on 'press' handler, but later browset freezes anyway. I tried to hide all results by setting 'display: none' to the tables container or whole document body and it helps to speed up table adding to the DOM, but I did not found any way to determine when I can show result again.

Can you tell me better way of viewing my data using UI5?

Simple Project

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers