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

UniDataTable does not refresh UI when a column's Sort property changed #27

Open
miyconst opened this issue Apr 8, 2019 · 2 comments
Open
Labels
bug Something isn't working

Comments

@miyconst
Copy link

miyconst commented Apr 8, 2019

As of right now, UniDataTable does not reflect server side changes to the column.Sort property.

Steps to reproduce:

  • Create a page with UniDataTable and at least one column.
  • Create a button on the page.
  • Let the button clear the sorting of the table column.
  • Load the page.
  • Sort by the column.
  • Click the button.
  • Sorting is removed, but column header does not reflect the changes.
protected void Handle(Input.ClearSortingTrigger action)
{
    (this.DataTable as Starcounter.Uniform.ViewModels.UniDataTable).Columns.First().Sort = null;
}
@miyconst miyconst added the bug Something isn't working label Apr 8, 2019
@warpech
Copy link

warpech commented Apr 16, 2019

Reopening. The problem was fixed in a clone of this repo, but not here.

@tomalec will you take care of this?

@warpech warpech reopened this Apr 16, 2019
@tomalec
Copy link

tomalec commented Apr 17, 2019

Extended solution available at https://github.com/Starcounter/uniform/pull/247
BC would have to upgrade to cover all the scenarios.

@tomalec tomalec assigned tomalec and unassigned SmokingSlim and miyconst Apr 17, 2019
@tomalec tomalec removed their assignment Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants