Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
324
Sort columns in XamPivotGrid
posted

Hi,

I am using a XamPivotGrid with its datasource's itemsource bound to a collection of some custom object. I then define rows, columns, measures and hierarchies. Let's say for example, I add a field "Month" to the Columns collection. In the resulting Pivotgrid, I get Month values as columns in any random order. Instead of Jan, Feb, Mar and so on, I get Dec, Feb, Sep, May, etc. Is there a way to sort the columns themselves?

Thanks,
DA