cancel
Showing results for 
Search instead for 
Did you mean: 

remove the navigation arrow button from the macros based table inside a dialog

03-25-2025 2:02 PM
Keval13 Associate
490 views 1 comments
SAP Managed Tags
Labels
Building BlocksmacrosnavigationSAP UI5 Dialog
Subscribe

Hi Experts,

I'm using macro table of type responsive table inside a dialog. But I'm seeing this navigation arrow at the rightmost end of all the rows.

Screenshot 2025-03-25 at 6.20.32 PM.png

I am not using the rowpress event. is there any way to remove it through controller or any annotation in the presentation variant? I'm not able to find any property on API reference page which can be used to disable it.

fragment definition:

<core:FragmentDefinition
    xmlns="sap.m" xmlns:core="sap.ui.core" 
    xmlns:table="sap.ui.table" xmlns:macrosTable="sap.fe.macros.table" xmlns:macros="sap.fe.macros">
    <Dialog id="changesDialogTable">
        <content>
            <macrosTable:Table
                id="changesTable"
                metaPath="/PurchaseOrderChanges/@UI.PresentationVariant"     
                readOnly="true"
                personalization ="false"
                isSearchable = "false"
                enableAutoColumnWidth = "true"
                type ="ResponsiveTable"
                disableCopyToClipboard = "true"
                beforeRebindTable=".tableRefreshed"> 
            </macrosTable:Table>
        </content>
        <beginButton>
            <Button id="closeButtonTable" text="{i18n>close}" press="onCloseChangesDialogTable" />
        </beginButton>
    </Dialog>
</core:FragmentDefinition>


Could anyone help please.

Thank you,
Keval

Accepted Solutions (0)

Answers (1)

Answers (1)

yasminbeer
Employee
Employee
0 Likes

Hello @Keval13, I found a fix for this.
Update your fragment to use macros:Table instead of macrosTable:Table

<core:FragmentDefinition
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:macros="sap.fe.macros"
... >
<macros:Table
...>
</macros:Table>

*Edit: for clarity on where to change it