cancel
Showing results for 
Search instead for 
Did you mean: 

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

Shubhrajit
Explorer

Hi,

I want to filter some records based on a specific date. So, I've added date filter in the column header in sap.ui.table. But it's not filtering any records.

<Column width="auto" filterProperty="Start_Date" defaultFilterOperator="StartsWith">
	<m:Label text="{i18n>opstartdate}"/>
	<template>
		<m:Text text="{path: 'tableModel>Start_Date', type: 'sap.ui.model.type.Date', formatOptions: { pattern: 'dd/MM/yyyy' } }"/>
	</template>
</Column>

I'm a beginner in SAPUI5. Any help is much appreciated.

Thanks,

Shubhrajit Chowdhury

0 Kudos

Hey! Did you find a solution?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member365727
Active Contributor
0 Kudos

try to eliminate the errors by commenting out certain pieces of code..

in your case try removing defaultFilterOperator="StartsWith">