PHPackages                             milkyway-multimedia/ss-gridfield-utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. milkyway-multimedia/ss-gridfield-utils

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

milkyway-multimedia/ss-gridfield-utils
======================================

A collection of GridField components that you can use with any GridField, including Editable Rows and amy more

0.4(8y ago)207.3k9[1 issues](https://github.com/milkyway-multimedia/ss-gridfield-utils/issues)2MITPHPPHP &gt;=5.4

Since Feb 13Pushed 8y ago3 watchersCompare

[ Source](https://github.com/milkyway-multimedia/ss-gridfield-utils)[ Packagist](https://packagist.org/packages/milkyway-multimedia/ss-gridfield-utils)[ RSS](/packages/milkyway-multimedia-ss-gridfield-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (2)

GridField Utilities
===================

[](#gridfield-utilities)

**GridField Utilities** are a collection of GridField components that you can use with any GridField.

Includes the following (note they all live in the namespace Milkyway\\SS\\GridFieldUtils):

- [AddNewInlineExtended](docs/en/AddNewInlineExtended.md): A more complex version of GridFieldAddNewInlineButton, allowing you to set custom fields, rather than copying GridFieldEditableColumns (defaults to this behaviour)
- [EditableRow](docs/en/EditableRow.md): adds an expandable form to each row in the GridField, allowing you to edit records directly from the GridField.
- [HasOneSelector](docs/en/HasOneSelector.md): Allow you to select a has one relation from the current GridField
- [AddExistingPicker](docs/en/AddExistingPicker.md): Works exactly like the one in gridfieldextensions, except it allows you to add more before closing the window - allowing for a faster workflow (requires silverstripe-australia/gridfieldextensions)
- [MinorActionsHolder](docs/en/MinorActionsHolder.md): Defines a new fragment that will holds SS UI buttons as a dropdown (not touch friendly)
- [AddNewModal](docs/en/AddNewModal.md): Opens up the detail form in a modal window
- [FormatSwitcher](docs/en/FormatSwitcher.md): Allows you to switch between different GridField formats
- RangeSlider: Filter your GridField using a slider, for a more user-friendly option for viewing lots of records
- HelpButton: Add a help button to your GridField that you can supply content for (will open a modal dialog)
- SaveAllButton: Will execute all components on the GridField that implement the GridField\_SaveHandler (for use in ModelAdmin where there is no save button)
- DisplayAsTimeline: Will change the display of your GridField to a timeline (probably not be compatible with custom GridField Components, but compatible with framework GridField Components)
- GridFieldDetailForm: Works exactly the same as the standard GridFieldDetailForm, with ability to change the url segment (hence having multiple GridFieldDetailForms on the one GridField)
- GridFieldAddNewButton: An add button for the above GridFieldDetailForm

### Caveats

[](#caveats)

- The DisplayAsTimeline component is very hacky at this stage, due to the lack of support for templates in GridField. It has only been tested in Google Chrome
- The SaveAllButton will be VERY slow when your objects are versioned and there are many of them
- A deep nested EditableRow will be very slow, since it has many request handlers to access, but not much I can do about this behaviour...

### Additional notes

[](#additional-notes)

You will need to install the [milkyway-multimedia/ss-mwm-formfields](https://github.com/milkyway-multimedia/ss-mwm-formfields) module to use the RangeSlider component.

Requirements
------------

[](#requirements)

- [silverstripe/framework](https://github.com/silverstripe/framework)
- [milkyway-multimedia/ss-mwm-env](https://github.com/milkyway-multimedia/ss-mwm-env)

Install
-------

[](#install)

Add the following to your composer.json file

```

    "require"          : {
		"milkyway-multimedia/ss-gridfield-utils": "0.4"
	}

```

Suggested Packages
------------------

[](#suggested-packages)

- [silverstripe-australia/gridfieldextensions](https://github.com/silverstripe-australia/gridfieldextensions)

Credits
-------

[](#credits)

- [ajshort](https://github.com/ajshort "ajshort on Github"): He did most of the coding of GridFieldExtensions, which I borrowed for the more complex versions in this module
- [silverstripe-australia](https://github.com/silverstripe-australia "silverstripe-australia on Github"): They now look after the GridFieldExtensions module, and have done some updates which I have probably borrowed

TODO
----

[](#todo)

- Screenshots!!
- Make MinorActionsHolder touch friendly
- Get DisplayAsTimeline to work with sorting (just in case)
- Make RangeSlider work with Date Range Fields / Any Range Fields
- Test RangeSlider more

License
-------

[](#license)

- MIT

Version
-------

[](#version)

- Version 0.4 (Alpha)

Contact
-------

[](#contact)

#### Milkyway Multimedia

[](#milkyway-multimedia)

- Homepage:
- E-mail:
- Twitter: [@mwmdesign](https://twitter.com/mwmdesign "mwmdesign on twitter")

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~278 days

Total

4

Last Release

3269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/873db53f59bc2f8309c506d1b56313b0c7d8c7b3160eb1700ee0754d060f9767?d=identicon)[mi3ll](/maintainers/mi3ll)

---

Top Contributors

[![mellm0](https://avatars.githubusercontent.com/u/229937?v=4)](https://github.com/mellm0 "mellm0 (3 commits)")

---

Tags

gridfieldgridfield-componentsphpsilverstripe-modulesilverstripeutilitiesgridfieldmwm

### Embed Badge

![Health badge](/badges/milkyway-multimedia-ss-gridfield-utils/health.svg)

```
[![Health](https://phpackages.com/badges/milkyway-multimedia-ss-gridfield-utils/health.svg)](https://phpackages.com/packages/milkyway-multimedia-ss-gridfield-utils)
```

###  Alternatives

[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

971.8M235](/packages/symbiote-silverstripe-gridfieldextensions)[undefinedoffset/sortablegridfield

Adds drag and drop functionality to Silverstripe's GridField

941.2M50](/packages/undefinedoffset-sortablegridfield)[unclecheese/betterbuttons

Adds new form actions and buttons to GridField detail form for usability enhancements.

85544.9k19](/packages/unclecheese-betterbuttons)[briceburg/silverstripe-pickerfield

GridField based management of has\_one , has\_many , and many\_many relationship selection

2541.2k1](/packages/briceburg-silverstripe-pickerfield)[webbuilders-group/silverstripe-frontendgridfield

Wraps gridfield adding support for using it on the front-end.

2029.8k1](/packages/webbuilders-group-silverstripe-frontendgridfield)[markguinn/silverstripe-gridfieldmultiselect

Gridfield extensions to add checkboxes for each row to easily delete or perform actions on multiple rows.

115.9k](/packages/markguinn-silverstripe-gridfieldmultiselect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
