Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Using Table filter when a formatter function is used

$
0
0

I have created a Table control based on OData service, with a column of type Date.

 

I'm using a formatter function in the column definition of the table, to translate from the internal date value to the dd/mm/yyyy, using DateFormat functionality -- no rocket science so far.

 

Now, I have enabled a filterProperty on the date column. However, it seems like a user would need to enter the internal representation of the filter value into the filter box, otherwise it doesn't work.

 

So, the question -- is there a functionality to convert from the external to internal representation, in the similar way as I did the formatting?

 

Otherwise, I might have to implement a separate drop-down list of values from that column and create a few events to filter the table.. but then what's the purpose of the inbuilt table column filter?


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>