How to show selected value from dropdown pagination data in cakephp? -
I have a problem in endorsement. I have three dropdowns which are showing the results that I have selected completely but when I click The problem here is on pageing number like 1. 2 | 3 When I click on 2, the selection option disappears and the default result will be found, I tried a lot for two days, but I did not get the success, I want to think that when click on page number 2 it's my page 2 to show the dropdown result selected, I can not understand what the problem is running, this is my code
$ this-> Pagination on the page = array ('position' = & gt; array ('association_id' = & gt; $ associationId, 'is_archive' = & gt; false, 'AssocMember.mem_id' = & gt; $ request [ ] ['Mem_type'], 'AssocMember.status_id' = & gt; $ request ['associations'] [' condition '], $ cond4, release ($ keywordkline) $$ keywordQuery: "",),' border '=' & Gt; 10); $ Member = $ this- & gt; Paginated ('Ashok Member'); $ This- & gt; Set ('' members, $ members); And this is my idea where I have the endorsement phone
echo $ this-> PaginatorManager- & gt; Option (array ('update' = & gt; REGION_LEFT_COL)); Echo $ the-> PaginatorManager-> Number (); I do not know what is wrong? Please help me, I am halted here, thanks in advance ..
all in that link included It's not difficult to say your visual code. I think your problem is that when you click on the pageing link, the parameter in the URL is not being passed for its operation.
To get around this, you need to pass a URL parameter for the endorsement object that it always adds values to the former:
In its view Try adding:
$ urlparams = $ this-> parameter ['url']; Not set ($ urlparams ['url']); $ This- & gt; Pageinator- & gt; Option (array ('url' = & gt; array ('?' = & Gt; http_build_query ($ urlparams)));
Comments
Post a Comment