Skip to Content
0

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

Mar 15, 2017 at 10:31 AM

58

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Mar 15, 2017 at 06:21 PM
0

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

in your case try removing defaultFilterOperator="StartsWith">

Share
10 |10000 characters needed characters left characters exceeded