You are here: Home Plone products DataGridField
 
 

DataGridField (1.6.2)

1
by Ihor Berehulyak last modified 2010-06-02
0.0
0.0
0.0
0.0
Released on 2010-06-01 by Jarn, Mikko Ohtamaa under GPL - GNU General Public License available for All platforms.
Software development stage: stable
User-fillable table component for Plone. The user interface uses JavaScript to create a dynamic table that adds rows on demand.
DataGridField

A table input component for Plone. Uses Javascript to make entering tabular data more user friendly process - there are no round trip HTTP requests to the server when inserting or deleting rows.

Features

  • Any number of columns set by a developer
  • Any number of rows filled by a user
  • Insert and deleting rows without submitting a form
  • Many different column types

Installation

The 1.6 branch of DataGridField is distributed as both an old-style Zope 2 product and an egg at the Python Package index. Information about configuring either for a zope instance house a Plone site can be found by reading the `Installing an Add-on Product`_  tutorial and the "Installing a third party product" section of the `Managing Project with zc.buildout`_ tutorial.

.. _Installing an Add-on Product: http://plone.org/documentation/tutorial/third-party-products
.. _Managing Project with zc.buildout: http://plone.org/documentation/tutorial/buildout/installing-a-third-party-product

Once you've succesfully done this, you can use the Add/Remove Products screen to install the DataGridField into your site. See below for information about experimenting with the demo types.

Notes

  • Since DataGridField 1.5, if you wish to retain old way of automatic row inserting. Here is a bit logic behind all this - otherwise there will be an extra row added when you edit DGF and press save.
  • You must set property auto_insert = True to DataGridWidget
  • You must set property allow_empty_rows = False to DataGridField

Known features

  • Sometimes on Firefox column sizes start changing after the user enters some  data. Not sure if this is a Firefox bug, though.
  • Prefilled default values work only for text and select columns
  • Radio button and link column postback is not handled propeply. This needs fixes to very deep into Zope (ZPublisher). If the form validation fails,

link column and radio button columns lost their values.

Document Actions
Powered by Plone