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

Column sort not an issue #121

Open
jcelestin opened this issue Jul 26, 2013 · 0 comments
Open

Column sort not an issue #121

jcelestin opened this issue Jul 26, 2013 · 0 comments

Comments

@jcelestin
Copy link

When you click on a column sort, the sort refers to that column in the ZK framework. This works just fine.
However, the generate Grails List composer reverts the sort to "id" in the redraw() function See below:
def roleInstanceList = EAIRole.createCriteria().list(offset: offset, max: max) {
order('id','desc')
if (keywordBox){
ilike('name',"%"+keywordBox.value+"%")
}
}
Grails uses the "order ('id','desc') " to sort the list based on the "id" column.
Is there another way to capture ZK sort event and use that in the redraw() function?
Thanks

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