Skip to Content

sap.ui.comp.variants.VariantManagement - Column Headers in Manage

Hi,

I've been using the control "sap.ui.comp.variants.VariantManagement" to manage my filters.

I was wondering if its possible to change the column headers in the manage pop.

Attached a screenshot for reference.

For example, I would like to add a column header for "Delete" since its missing by default.

Thank you.

Capture.PNG (11.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 03, 2015 at 11:02 AM

    Hi Krishna,


    Will this help? JS Bin - Collaborative JavaScript Debugging

    I have written comments to the code, hope you will understand.

    Regards,

    Sai Vellanki.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi sai,

      A similar question.

      How can i add validation on Click of "OK" button in SaveAs Dialog?

      I'm able to get the button and attach a Press event to it as below:

      var oVariant = sap.ui.getCore().byId("idvm1");

        var oDialog = oVariant.oSaveDialog;

        var oButton = oDialog._oBeginButton;

        oButton.attachPress(function (oEvent) {

                  alert("sapui5 version = " + sap.ui.version);

              });

      But the variant gets saved in the control in all situations.