Getting Page settings to stick

Talk about Sorting & Paging problems, issues etc.

Moderator: alexandrleonenko

daviddelmonte
Master
Master
Posts: 159
Joined: Feb 23rd, '10, 15:06

Getting Page settings to stick

Postby daviddelmonte » Jun 11th, '10, 04:26

I have a default page length.

Code: Select all

 $pages_array = array( "5"=>"5", "7"=>"7", "10"=>"10", "15"=>"15", "25"=>"25", "50"=>"50");
 $default_page_size = 15;



If I change it say to 10, that works.

However, if I then edit a record, then update or cancel,
when I return to the main grid, the page size is set back to the default (15).

Any good way to change this behaviour?

Thanks

administrator
Site Admin
Site Admin
Posts: 6003
Joined: Jan 7th, '09, 23:18
Contact:

Re: Getting Page settings to stick

Postby administrator » Jun 15th, '10, 17:03

This is the original behavior of DataGrid. What version you work with?

daviddelmonte
Master
Master
Posts: 159
Joined: Feb 23rd, '10, 15:06

Re: Getting Page settings to stick

Postby daviddelmonte » Jun 15th, '10, 17:10

I thought, 6.0.8..

How do I tell?

daviddelmonte
Master
Master
Posts: 159
Joined: Feb 23rd, '10, 15:06

Re: Getting Page settings to stick

Postby daviddelmonte » Jun 16th, '10, 09:54

Any ideas on this?

My version is this

PHP DataGrid Pro (AJAX enabled) version 6.0.8

However, is it possible that I have some old bits from the demo version still around?


Return to “Settings: Sorting & Paging”