cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Krishna,


Will this help? JS Bin - Collaborative JavaScript Debugging

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

Regards,

Sai Vellanki.

0 Kudos

Hi sai,

It works.

Thanks a lot.

0 Kudos

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.

Answers (0)