on 05-23-2018 4:27 PM
This is my xml UI code:
<core:FragmentDefinition
xmlns:m="sap.m"
xmlns:core="sap.ui.core"
xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
xmlns:layout="sap.ui.layout"
xmlns:table="sap.ui.table"
height="100%"
>
<m:Dialog
id="fileDialog"
draggable="true"
resizable="true"
icon="sap-icon://folder"
title="{i18n>filedialog.dialog.title}"
contentHeight="100%"
>
<m:content>
<table:TreeTable
id="workspaceTreeView"
visibleRowCountMode="Auto"
selectionMode="None"
toggleOpenState="onTreeViewToggleOpenState"
collapseRecursive="false"
height="500px"
editable="false"
enableColumnReordering="false"
fixedColumnCount="1"
columnHeaderVisible="true"
rows="{
path: 'JuicyFileModel>/'
}"
rowActionCount="0"
>
... end tags...
The problem is that when I open the dialog, the table only shows 5 rows. What I want it to do is to use the total available vertical space inside the dialog, but it doesn't.
I have used sap.ui.table.TreeTable before with visibleRowCountMode=Auto and then it just fills out the available room in the container. But not now.
How can I get it to behave the way I want?
I set verticalScrolling="false" on sap.m.Dialog control. it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.