on 2020 Nov 06 11:38 AM

I create the smart table and set with entityset of odata . Although the return results are 150 records , the row count show 250 and after scrolling it change to 400 records .

After writing the paging logic in abap , all of the records are 150 and the return data is 132 records , but row count still 250 and the data don't show correctly in smart table . after scroll the table , the row count goes to 150 and the data show correctly .
I don't know why the smart table can't show correctly .
Best Regards,
Phyo
Request clarification before answering.
most likely your own coding error. smarttable just display what your odata supplied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Here is the table structure.
<smartTable:SmartTable id="LineItemsSmartTable" header="支払一覧" persistencyKey="Zbukr" entitySet="GET_PAYMENT_DETAIL"
smartFilterId="smartFilterBar" tableType="Table" showVariantManagement="true" useExportToExcel="false" useVariantManagement="true"
useTablePersonalisation="true" showRowCount="false" enableAutoBinding="false"
beforeRebindTable="onBeforeRebindTable" customData:lineItemQualifier='LineItem_Display' ignoredFields='Vblnr,Kunnr,Empfg,Name1'
displayInline="true">
<!--header="支払一覧"-->
<smartTable:customToolbar>
<m:OverflowToolbar design="Transparent">
<m:ToolbarSpacer/>
<m:Button id="downloadButton" text="支払通知書データダウンロード" press="onDownload" enabled="false"/>
<m:Button id="hdDownloadBtn" icon="sap-icon://excel-attachment" press="onBeforeExport"/>
</m:OverflowToolbar>
</smartTable:customToolbar>
<!--visibleRowCount="1000" threshold="1100"-->
<table:Table id="DetailsTable" visibleRowCountMode="Auto" rowHeight=" 30%" rowSelectionChange="onSelectionChange"
busyStateChanged="onTableUpdateFinished"></table:Table>
<smartTable:layoutData>
<m:FlexItemData growFactor="1" baseSize="0%"/>
</smartTable:layoutData>
</smartTable:SmartTable>
| User | Count |
|---|---|
| 18 | |
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.