on 2016 Aug 30 8:03 AM
Hello everyone,
I have a small problem in rendering the size of the columns in a sap.ui.table.Table which is inside a Dialog (Fragment).
This happens if I set these parameters for the Dialog:
showHeader="false"
type="Standard"
state="None"
stretch="false"
contentWidth="90%"
contentHeight="90%"
horizontalScrolling="false"
verticalScrolling="false"
resizable="false"
draggable="false"
This is what I get:
Then if I change the property stretch="true" or contentWidth="100%" and contentHeight="100%" it works. It renders the columns with the same size.
The columns get rerendered if I make the Dialog resizable and I manually resize the dialog. It works even if I do an auto resize of the columns on the table.
The above tweaks are not an option for me unfortunately. I need to show a good stand of the table when the user opens the Dialog.
Is this a problem with Fragment rendering?
Thank you for your time
Adrian
Request clarification before answering.
Hi Zguri ,
Why can't you use sap.m.table ? they are responsive tables ... might be this solves your issue. sap.ui.table.Table is deprecated control ...
thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi VIPLOVE,
I have used the sap.ui.table.Table everywhere in my project since I need to show a large amount of data (going against the Fiori principles, I know, but these are the requirements).
I need to use Tree Table and they inherit from sap.ui.table.Table so the sap.m.table is not a good option and as per sap.ui.table.Table documentation, I do not see anywhere that it is deprecated?!
Thanks anyway for your answer.
User | Count |
---|---|
59 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.