Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: DetailsList does not honor CurrentSortColumn or CurrentSortDirection inputs on Dataverse table #510

Open
tikluganguly opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet.

Comments

@tikluganguly
Copy link

Bug Description
I have added the detaillist in a canvas app. And have been trying to display a date column in descending order (latest date first). To do that I have done the following steps

To Reproduce

  1. The items property is assigned a filtered dataverse table
  2. The columns_items is set to a table which defines all the columns that is to be displayed for the grid
  3. CurrentSortColumn set to the logical name string of the date type column ("xxxx_starttime"). This is also the first column in the list
  4. "CurrentSortDirection " is set to descending ('PowerCAT.FluentDetailsList.CurrentSortDirection'.Descending)
  5. When I run the app I see that the detailedlist is sorted ascending instead of descending on the date column

So here is my questions

  1. Is the process that I am following to display the data correct? if not then what am I missing?
  2. What is the standard process of displaying a filtered dataset where a date column is sorted in descending order.

I am using the latest version of the component (1.0.20241119.3)
There seems to be another person having a similar issue and the link can be found here

microsoft/powercat-code-components#333

@tikluganguly tikluganguly added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet.
Projects
None yet
Development

No branches or pull requests

1 participant