I am working on something and a question hammered in my mind. By default frappe.get_list fetches all the data and in future, I will be having over millions of data in a list. So i guess " function ( r ) "will be slow to load data . So for the resolution of that, what I want to do is fetching the first 10 at first time and on clicking next or any trigger i want next 10 values to be fetched.
Need help in getting values in limit and also how to put a trigger that on clicking this next 10 values to be loaded.