Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 15, 2017 at 06:21 PM

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

    in your case try removing defaultFilterOperator="StartsWith">

    Add comment
    10|10000 characters needed characters exceeded