Pagination

thread: 5 messages  |  last: a year ago  |  started: thursday, july 8, 2010, 4:37 am pdt


#1  |  Muthu kumar (India) India
Thursday, July 8, 2010, 4:37 AM PDT

list a record in datagrid with links to edit page.

click one record thats go to edit screen..then click back button retained come back to same record page in datagrid

it's possible in qcodo

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Thursday, July 15, 2010, 10:34 PM PDT

Yes it is -- you would need to override the click handlers in QDataGrid (essentially overriding the default) to change the URL instead of processing the AJAX response directly.

And then, your form handler will read the URL and set/display the page accordingly.

This has been asked a few times before, so I'll try and put up an Examples Site page for it... but unfortunately it won't be any time soon.

#3  |  VexedPanda (Calgary, AB) Canada
Friday, July 16, 2010, 12:26 PM PDT

Optionally, you can remember the page as part of the _bind or prerender calls, and restore those on form_create.

#4  |  Muthu kumar (India) India
Monday, July 19, 2010, 2:04 AM PDT

How can i get current PageNumber.

$this->dtgvariablename->PageNumber always return 1 , but pagination working fine.

what is the problem....

Thanks Again

#5  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Monday, July 26, 2010, 10:11 AM PDT

when are you asking for page number?  Is it before / during / after the “Bind” occurs?



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.