Pagination for Query Report

Hi All,
  1. I have created a Query Report.
  2. I want to add pagination for this query report instead of vertical scroll bar.
  3. I have created pagination for list view.
  4. In that i had provide 2 values start from and end limit to retrieve information.
  5. For query report i am not able to provide this values.
  6. I want to add limits in filters, for that i used "me.filters.push({start:"20"});"
  7. This is not working.
So please guide me how can i pass limitations to server side from client side

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.
Rohit,

Its not easy to add pagination to query reports (specially scripted ones)

Please read query_report.js for more details.

- Rushabh

On Friday, October 18, 2013 6:27:21 PM UTC+5:30, Rohit Waghchaure wrote:
Hi All,
  1. I have created a Query Report.
  2. I want to add pagination for this query report instead of vertical scroll bar.
  3. I have created pagination for list view.
  4. In that i had provide 2 values start from and end limit to retrieve information.
  5. For query report i am not able to provide this values.
  6. I want to add limits in filters, for that i used "me.filters.push({start:"20"});"
  7. This is not working.
So please guide me how can i pass limitations to server side from client side

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.