You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: