on 2024 Apr 24 7:12 AM
Hi all,
When I use the Smart table element in Fiori, I get below Error How to resolve this? after clicking on the setting button I get all the fields. but I want this by default.
How do you add the columns in the smart table?
<mvc:View
xmlns:table="sap.ui.table"
xmlns="sap.m"
xmlns:mvc="sap.ui.core.mvc"
xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
xmlns:smartTable="sap.ui.comp.smarttable"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:app="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"
controllerName="project1.controller.View1"
displayBlock="true"
height="100%">
<VBox id='_IDGenVBox1' fitContainer="true">
<smartFilterBar:SmartFilterBar id='smartFilterBar'
entitySet="invoiceSet"
persistencyKey="SmartFilter_Explored"
basicSearchFieldName="Irn"
enableBasicSearch="true" >
</smartFilterBar:SmartFilterBar>
<smartTable:SmartTable id='LineItemsSmartTable'
entitySet="invoiceSet"
smartFilterId="smartFilterBar"
tableType="Table"
header="Line Items"
enableAutoBinding="true"
class="sapUiResponsiveContentPadding"
enableAutoColumnWidth="true"
editTogglable="true"
app:useSmartToggle="true" >
<smartTable:layoutData>
<FlexItemData id='_IDGenFlexItemData2' growFactor="1" baseSize="0%"/>
</smartTable:layoutData>
</smartTable:SmartTable>
</VBox>
</mvc:View>
Thanks in Advance...
Request clarification before answering.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
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.