Skip to Content
Feb 08, 2022 at 02:54 PM

How to add Date Range filter in Column header of ui table(sap.ui.table)

334 Views Last edit Feb 09, 2022 at 07:46 AM 3 rev


I have a requirement to filter Date Range in Column headers of the UI Table . I have used defaultFilterOperator property "BT" in the XML View. As Between operator accepts 2 values i.e., Upper and Lower Limit, How to pass the values in the filter. Do I need to pass any separator to differentiate the values?

<table:Column width="13rem" sortProperty="eDate" filterProperty="eDate" defaultFilterOperator="BT"><br><Label text="{i18n>eDateformat}"/><br><table:template><br><Text text="{eDate}"></Text><br></table:template><br></table:Column><br>

Any help is much appreciated.