Skip to content

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

Notifications You must be signed in to change notification settings

jelicanin/silverstripe-gridfieldajaxrefresh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
);

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.7%
  • PHP 41.7%
  • Scheme 7.4%
  • CSS 1.2%