-
Notifications
You must be signed in to change notification settings - Fork 59
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
jqgrid paging breaks when using groupingView due to additional sortByColumns on POST request #108
Comments
So far I can tell that we will have to check the I switched the Person Bootstrap example to sortname: 'displayName,givenName',
sortorder: 'ASC,DESC',
prmNames : {
page: 'currentPage',
rows: 'itemsPerPage',
sort: 'sortByColumns',
order: 'sortDirections',
search: 'isSearch',
}, The major problem is that - when using We will have to check if this is a general Looking at the This will look like this: Maybe we should "simply" check if the order |
Fixes issue ThaDafinser#108 .
Here is the solution for regular and I havn't made it a PR yet since there still are some old issues to be (or not to be) merged. I will try to add an example based based on the
This will take some time! Until then other people can use an individual layout, create the There are some tricky things to consider when using sorting on If |
I created a PR in a separated branch @ThaDafinser . Could you please test the functionality with the new example? There are some differences in the behaviour of the |
This issue was moved to zfc-datagrid/zfc-datagrid#12 |
I added groupingView to my jqgrid layout in order to add summary on my footerrow:
The pagination will fail with a 500 Internal Server Error and the following message from ZfcDatagrid on the POST request:
Count missmatch order columns/direction
The regular POST params without groupingView will result in:
Using groupView it will add the sortByColumns:
I have tried several jqgrid groupingView setups but could not override the sortByColumns.
This issue may be related to other issues and improvements:
The text was updated successfully, but these errors were encountered: