Skip to Content
avatar image
Former Member

SAP UI5 smart Table,Issue with variant management

Hello Experts

Variant management button is not visible.How do I enable?

Tried changing so many private variables but not working perfectly as shown in

this.byId("TableID")._oVariantManagement.setEnabled(true)
this.byId("TableID")._oVariantManagement.oActionSheetManage.setEnabled(true);
this.byId("TableID")._oVariantManagement.oActionSheetSave.setEnabled(true);
this.byId("TableID")._oVariantManagement.oActionSheetSaveAs.setEnabled(true);
this.byId("TableID")._oVariantManagement.setLifecycleSupport(false)
this.byId("TableID")._oVariantManagement.currentVariantSetModified(true);
<smartTable:SmartTable entitySet="myEntitySet" editable="false"
id="salestable" tableType="Table" useTablePersonalisation="true"  useVariantManagement="true" 
useExportToExcel="true" showRowCount="true" header="line items" persistencyKey="SmartTablePKey"
initiallyVisibleFields="Prop1,Prop2" exportType="GW"
enableAutoBinding="true"  editTogglable="true" >
</smartTable:SmartTable>
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 05, 2017 at 05:56 PM

    Hey,

    Why don't you use Smart Filter Bar?

    Add comment
    10|10000 characters needed characters exceeded