Skip to Content
0
Feb 02, 2023 at 09:51 AM

sap.ui.table.Column header button not working on single click

174 Views

I have added button in label of sap.ui.table.Column field to open a popover. but it gets open on double click from touchpad touch. I want the button to be click on single click only.

oTable.bindColumns("/List/columns", function (sId, oContext) { let columnName = oContext.getObject().columnName; return new sap.ui.table.Column({ autoResizable: true, label : new sap.m.Button({ tooltip: columnName, text: columnName, type: sap.m.ButtonType.Transparent, icon: "sap-icon://filter", press: function(oEvent){ sap.ui.controller("com.sap.clm.sl.cpse.ui.controller.Blueprint").listViewFilterPopup(oEvent); } }), template: columnName, });

});

image.png

on the double click it open the below popup :

image.png

But i want it to be open on single click only. any suggestions is accepted.

Attachments

image.png (47.3 kB)
image.png (75.2 kB)