Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

Date Column in the sap.ui.table.Table is not Sorting properly

$
0
0

Hi All,

 

We added Date column to sap.ui.table.Table with the Date values in the mm/dd/YYYY format.

When we click sort on the Date Column, The Date Sorting works for Day(dd) number and Month(mm) number only, it is not taking the Year(YYYY) number into consideration while sorting.

The Date Column like mm/dd/YYYY have the formated values in the sap.ui.table.Table like below.

 

Example: If we have dates like date1=01/22/2014, date2=02/24/2015, date3=03/28/2013.

 

If we click Ascending Order on table column, then dates are showing as 01/22/2014, 02/24/2015, 03/28/2013  but it is not correct.

If we click Descending Order on table column, then dates are showing as 03/28/2013, 02/24/2015, 01/22/2014  but it is not correct.


Attached the snapshot of table data, after clicking Descending order.

Can anybody help us with this.


Thanks,

Nagender Naroju.


Viewing all articles
Browse latest Browse all 7999

Trending Articles



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