Skip to content

Latest commit

 

History

History
87 lines (54 loc) · 3.26 KB

configuring-the-table-only-view-as-the-default-option-d074e26.md

File metadata and controls

87 lines (54 loc) · 3.26 KB

Configuring the Table-Only View as the Default Option

In this mode, the data is displayed in the table format.

Please see the sections Additional Features in SAP Fiori Elements for OData V2 and Additional Features in SAP Fiori Elements for OData V4 in this topic for the manifest configurations required to load the table-only view by default. For more information about configuring tables, see Configuring Tables.

You can adjust the width of columns by modifying the MaxLength metadata for texts strings and Precision metadata for decimals.

Note:

By default, ALP displays tables in condensed mode. You can modify the descriptor setting to use compact mode.

Sample Code:

Descriptor Settings: Table-only view

"sap.ui.generic.app":{  
   "pages":[  
      {  
         "entitySet":"SEPMRA_C_ALP_SlsOrdItemCube",
         "component":{  
            "name":"sap.suite.ui.generic.template.AnalyticalListPage",
            "list":true,
            "settings":{  
            "tableSettings":{  
            "type": "GridTable or AnalyticalTable or ResponsiveTable",
                            }
                       }
                   }
            }
     },

Defining Determining Actions

For more information, see Defining Determining Actions in List Reports.

Recommendation:

Please note that this feature is deprecated. SAP Fiori elements supports this feature only for compatibility reasons. We recommend that you avoid using determining buttons.

ALP Configuration

Make the following entries in the manifest:

Sample Code:

Manifest entry for ALP configuration

"views": {
    "paths": [{

...
        "defaultPath": "secondary"
    }]
},

Setting the "defaultPath" to "secondary" ensures that the default view that is loaded is the table-only view.

For more information about options that can be provided for the annotation path, see Descriptor Configuration for the Analytical List Page.

Related Information

Configuring the Content Area

Setting the Table Type