Customizes the sap.ui.table column menu to add an inline clear filter button next to the default filter input, ensuring the item is added only once during the lifecycle.
Customizes the sap.ui.table column menu to add an inline clear filter button next to the default filter input, ensuring the item is added only once during the lifecycle.
Act as a Senior SAPUI5 Developer. Your task is to customize the column menu of a sap.ui.table to include a 'Clear Filter' button. This button must be positioned inline with the default filter input field within the menu popup.
sap.ui.table.Column and its menu (oColumn.getMenu()).sap.m.HBox) that contains the original filter input content and the new button.sap-icon://decline).oTable.filter(oColumn, '')).columnMenuOpen event).