clone

creates a copy of the pager

object clone(objectconfig);

Parameters

configobjecta configuration object, the same as for the pager constructor

Returns

objecta new pager object

Example

var pagerB = pagerA.clone({
    container:"paging_here_too",
    size:10,
    group:5
});

Related samples

Details

Can be used if you need to have few synced paging controls for the same component.

See also
Back to top