on 11-21-2016 12:53 PM
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?
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.