2017 © Pedro Peláez
 

silverstripe-module gridfieldajaxrefresh

Adds the ability to either automatically or manually refresh a SilverStripe GridField

image

silverstripe/gridfieldajaxrefresh

Adds the ability to either automatically or manually refresh a SilverStripe GridField

  • Wednesday, July 12, 2017
  • by chillu
  • Repository
  • 12 Watchers
  • 10 Stars
  • 52,478 Installations
  • JavaScript
  • 2 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

GridFieldAjaxRefresh

Adds the ability to either automatically or manually refresh a SilverStripe GridField, (*1)

Requirements

  • SilverStripe 3.x

Installation

  • Download the module from here https://github.com/silverstripe-labs/silverstripe-gridfieldajaxrefresh
  • Extract the downloaded archive into your site root so that the destination folder is called gridfieldajaxrefresh
  • Run dev/build?flush=all

Usage

To enable the refresh, add the component to the GridField. The parameters control the delay between automatic refreshing and whether or not to use automatic or manual refreshing. Choosing manual refreshing creates a button to trigger the refresh. Automatic refreshing hides the refresh button and triggers the refresh at a specific interval., (*2)

$gridFieldConfig = GridFieldConfig::create()->addComponents(
    new GridFieldAjaxRefresh(5000,true)
);

The Versions

12/07 2017

dev-master

9999999-dev

Adds the ability to either automatically or manually refresh a SilverStripe GridField

  Sources   Download

BSD-3-Clause

The Requires

 

ajax silverstripe gridfield automatic refresh auto-refresh