2024 Jul 16 1:36 PM - edited 2024 Jul 22 8:22 AM
Hello,
I am creating some integration cards of the type component. I managed to integrate treetables in them in composite views. Some of them are quite long, so I used the interactive mode, where the user can enlarge them, but initially they're just 10 rows tall.
This is how I put the table in the content (View):
<t:TreeTable id="treeTable" selectionMode="Single"
rowMode="Interactive"
enableColumnReordering="false"
rows="{
path : 'products>/nodeRoot',
parameters: { arrayNames: ['children']}
}">
From the API I understand that now in 1.120 (the version I'm on) the rowMode is an object with some params:
https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.table.rowmodes.RowMode
https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.table.rowmodes.Interactive
But I don't know how to set the params minRowCount or rowCount in the view rather the controller?
Regards,
Michal
You can set it as element in the XML-View like this (works in this example):
<mvc:View
xmlns="sap.ui.table"
xmlns:mvc="sap.ui.core.mvc"
xmlns:mode="sap.ui.table.rowmodes" ...>
<TreeTable ...>
<rowMode>
<mode:Interactive minRowCount="10" />
</rowMode>
</TreeTable>
</mvc:View>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
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.