If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
this works better in get_rows():
pages = math.ceil(1.0*total/pagesize)
because if total = 50 and pagesize = 30, you need two pages.
This is a simple example of how to get started with jqGrid on web2py
0
tim-richardson 11 years ago
this works better in get_rows():
pages = math.ceil(1.0*total/pagesize)
because if total = 50 and pagesize = 30, you need two pages.