There is no license information available for the latest version (1.0.2) of this package.

Front-end DataList create/edit/delete control.

Installs: 55

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 2

Forks: 1

Open Issues: 0


1.0.2 2014-11-20 03:55 UTC

This package is auto-updated.

Last update: 2024-02-24 18:01:19 UTC


A light-weight front-end control for adding, editing, and deleting DataObjects in a given DataList.


Update your DataObject as follows:

  • Implement/extend the getFrontEndFields method to control form fields.
  • Implement/extend the canCreate, canEdit, and canDelete functions to control access. see docs.

Add the ListEditForm inside your controller class:

function Form(){
    return new ListEditForm($this, 'Form', Member::currentUser()->Links());

Customising the template

You can make the editor template the same for a specific DataObject by adding a template named: MyDataObject_ListEditField.ss to your project.

You could also edit on a per-instance basis by using the ListEditField's setTemplate function.


Add CRUD functions to your DataObject

Make sure you implement the canCreate and canEdit and canDelete functions on your dataobject.

Add/edit form redirects back without saving any changes

You may have fields added that are failing validation. All fields are required by default in the ListEditForm.