Paging

Hi All,
  1.  I have to make pagination instead of more on list of doctype page
  2.  For that i have added jpaginate plugin in listing.js file
  3.  For reference, i have pasted my code on link http://pastebin.com/j0MXc9mJ
  4. I have comment my code as a newly added
  5. Also i have attach paging snapshot of a doctype
Problem:
  1.  When i open any doctype at first time pagination works but when i open other doctypes list it did not show anything
  2.  If i refresh the list page of doctype then only it works.
Please provide me solution.

Thanks and Regards
Rohit



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Rohit,

This is a very open question. We cannot debug your code for you. Please use browser's javascript console and try to figure out where exactly things are going wrong. You should look for an error trace getting displayed. Once you know that, only then can we point you in the right direction.

Thanks,
Anand.

On 04-Sep-2013, at 4:44 PM, Rohit Waghchaure <ro...@indictranstech.com> wrote:

Hi All,
  1.  I have to make pagination instead of more on list of doctype page
  2.  For that i have added jpaginate plugin in listing.js file
  3.  For reference, i have pasted my code on link http://pastebin.com/j0MXc9mJ
  4. I have comment my code as a newly added
  5. Also i have attach paging snapshot of a doctype
Problem:
  1.  When i open any doctype at first time pagination works but when i open other doctypes list it did not show anything
  2.  If i refresh the list page of doctype then only it works.
Please provide me solution.

Thanks and Regards
Rohit




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.

    <Paging.png><Paging Not working.png>



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.