silverstripe/gridfieldajaxrefresh

This package is abandoned and no longer maintained. No replacement package was suggested.

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

Installs: 68 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 12

Forks: 7

Open Issues: 2

Language:JavaScript

Type:silverstripe-module

dev-master 2017-07-12 01:31 UTC

This package is auto-updated.

Last update: 2024-07-10 21:54:52 UTC


README

GridFieldAjaxRefresh

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

Requirements

  • SilverStripe 3.x

Installation

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.

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