ssCore.Catalog.maxRows

Limit the number of search results returned to protect us against cases where the search returns too many rows for Flash to handle quickly.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

number - [Optional] - The maximum number of rows to return. The minimum value for 'Number' is 1. Supplying a lower amount will result in the value being set to 1. Default value is 100.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Catalog.maxRows( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Catalog.maxRows( paramsObject );


Notes:

Catalog.maxRows affects the number of results returned by Catalog.browse and Catalog.results without using the count parameter.

The minimum value for number is "1". Specifying a lower value will not result in an error; the value will instead be set to "1".

                

Examples:

ssCore.Catalog.maxRows({number:10});