2017 © Pedro Peláez
 

silverstripe-module silverstripe-togglepaginator

Allow to enable/disable the GridField pagination with one click

image

entidi/silverstripe-togglepaginator

Allow to enable/disable the GridField pagination with one click

  • Friday, February 19, 2016
  • by ntd
  • Repository
  • 1 Watchers
  • 1 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

SilverStripe Toggle-Paginator

Code Quality Latest Stable Version, (*1)

A module that provides a GridField component for temporarily switching the pagination on or off. This can be especially useful when used in conjunction with other modules, e.g. I am currently using it with gridfieldmultiselect to execute special actions on a filtered subset of records., (*2)

Installation

You can install silverstripe-togglepaginator by hand by dropping the directory tree into your SilverStripe root. No flush or dev/build is required., (*3)

If you use composer, execute:, (*4)

composer require entidi/silverstripe-togglepaginator dev-master

Usage

Just add the component to the grid field you want disable the pagination on, ensuring it is added before GridFieldPaginator, e.g.:, (*5)

$grid->getConfig()->addComponent(
    new GridFieldTogglePaginator(),
    'GridFieldPaginator'
);

This by default will add a button on the top right corner of every grid field instance (this can be overriden by providing a different target fragment while calling the constructor). This button will toggle between pagination enabled and pagination disabled., (*6)

Author

This project has been developed by ntd. Its home page is shared by other SilverStripe modules and themes., (*7)

To check out the code, report issues or propose enhancements, go to the dedicated tracker. Alternatively, you can do the same things by leveraging the official github repository., (*8)

The Versions

19/02 2016

dev-dev

dev-dev http://silverstripe.entidi.com/

Allow to enable/disable the GridField pagination with one click

  Sources   Download

BSD-2-Clause

The Requires

 

pagination silverstripe paginator gridfield toggle gridfieldpaginator

18/02 2016

dev-master

9999999-dev http://silverstripe.entidi.com/

Allow to enable/disable the GridField pagination with one click

  Sources   Download

BSD-2-Clause

The Requires

 

pagination silverstripe paginator gridfield toggle gridfieldpaginator

18/02 2016

0.1.1

0.1.1.0 http://silverstripe.entidi.com/

Allow to enable/disable the GridField pagination with one click

  Sources   Download

BSD-2-Clause

The Requires

 

pagination silverstripe paginator gridfield toggle gridfieldpaginator

10/08 2015

0.1.0

0.1.0.0 http://silverstripe.entidi.com/

A GridField component that provides a way to enable/disable the pagination

  Sources   Download

BSD-2-Clause

The Requires

 

pagination silverstripe gridfield gridfieldpaginator