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

Dynamic groupByFields in ListView #179

Closed
sympmarc opened this issue Nov 13, 2018 · 2 comments
Closed

Dynamic groupByFields in ListView #179

sympmarc opened this issue Nov 13, 2018 · 2 comments

Comments

@sympmarc
Copy link

Category

[ ] Enhancement
[ ] Bug
[X] Question

Version

Please specify what version of the library you are using: [1.10.0 ]

Expected / Desired Behavior / Question

It would be great if we could change the groupByFields of the ListView during the page lifesycle to change the grouping based on user request. I'm trying to do this, and it doesn't seem to work. I'm not sure if it's something I'm doing wrong or if ListView simply doesn't do this (yet).

Observed Behavior

I'm changing the value of the groupByFields after the page loads, for example, from:

[{
      name: Department.Label",
      order: GroupOrder.ascending
}];

to

[{
      name: RequestStatus",
      order: GroupOrder.ascending
}];

There is no visible change.

@sympmarc
Copy link
Author

It looks like this works if I:

  • Change the groupByFields values
  • Click on a column header
    So the basic wiring is there.

@sympmarc
Copy link
Author

This was developer error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant