web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dates Not Formatting a...
Power Apps
Unanswered

Dates Not Formatting and Sorting Not Working in CanvasGridControl PCF for Collections

(0) ShareShare
ReportReport
Posted on by 12

When I pass in our collection, which is a basically a union of a few different tables, our PCF doesn't seem to sort correctly and the dates are formatted odd (pretty sure it's a unix epoch format).

Our PCF is just a clone of the CanvasGridControl in the PowerApps Samples. Same one that you build in the Canvas dataset tutorial https://docs.microsoft.com/en-us/powerapps/developer/component-framework/tutorial-create-canvas-dataset-component

I know this PCF works just fine with straight tables from the dataverse. The sorting and date formats work just fine.

Also when I view the collection in the File > Collections menu the dates appear normal. When I reference them in other places the datatype on the column is a datetime.

Any ideas or known issues with collections in dataset PCFs?

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard