We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to sort the pivot item with DateTime format

Platform: WPF |
Control: PivotGridControl
Tags: general, wpf

In our pivot grid, you can able to sort the column based on the dates by setting Comparer for the specific Pivot Item. This can be achieved by writing Comparer for the Pivot Item which has “DateTime” field as FieldMappingName, so that it gets sorted based on the chronological order.



C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-05-29 12.42.46.png

Figure: Pivot column with DateTime format appears in chronological order



2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile