View source | View content page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Show collection (0 pages)
Collections help


Projects:Performace WebPOS/Data Limit Documentation


This feature allows to implement a data limit in javascript queries to the local database. In the case this limit is reached a message appears at the end of the list that shows data.

By default this limit is set to 300 in the following models: Products, Product Categories and Business Partners


To configure the limit it is needed to modify the Backbone model definition by adding the property dataLimit. If this property does not exist or is set to null no limit is checked.

For example to modify the current limit in the Products, Product Categories and Business Partners models just add the following lines to your module code:

OB.Model.Product.dataLimit = 500;
OB.Model.ProductCategory.dataLimit = 500;
OB.Model.BusinessPartner.dataLimit = 500;

Retrieved from ""

This page has been accessed 398 times. This page was last modified on 26 November 2012, at 16:09. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.