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

onChangeSort is not repopulating gris #152

Open
Diliz opened this issue Jun 30, 2016 · 0 comments
Open

onChangeSort is not repopulating gris #152

Diliz opened this issue Jun 30, 2016 · 0 comments

Comments

@Diliz
Copy link

Diliz commented Jun 30, 2016

On changeSort function, I found that if I set a onChangeSort function, this.populate() is not triggered since it's not in the right condition, actually:

if (p.onChangeSort) {
    p.onChangeSort(p.sortname, p.sortorder);
} else {
    this.populate();
}

What I did to reload correctly the grid on sort:

if (p.onChangeSort) {
    p.onChangeSort(p.sortname, p.sortorder);
}
this.populate();

Is this a bug or is it something you did on purpose? :)

Thanks for reading

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