on 02-07-2018 8:31 AM
Dear all,
I'm new for SAP UI5. Currently I'm working on the tree table. I put it in one of section of object page. Initially, there is only one section (containing a tree table) in the page and I want to make the height of this tree table fulfill the screen.
I've done a little search which said I should use the property "visibleRowCountMode". (You could find the example here: http://jsbin.com/rizome/1/edit?html,output)
However, when I added the section container for the tree table, it doesn't work. Could anyone help me with this? Here is the modified version: http://jsbin.com/qabaton/edit?html,output
Thank you so much in advance!
Hi! I'will try to help you through css. But it's insanly bad practice.
You can directly manipulate containers with external css file, or you can extend ObjectPageLayout to redefine renderer (long way).
Short, bad practice way through css file:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Efim,
Thank you soooooo much for your kind help! I've tried you solution in my project but to find that it doesn't work as expected since there is the header content. For example, you could add this line in above code: opl.addHeaderContent(new sap.m.Text("myText", {text: "hello world"}));
I tried to add css style #myOPLayout-scroll {flex-direction: column;} and it doesn't work either. What do you think of it?
Hello again! Updated version:
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.