[There are embedded gist’s click link to see]
Help from espenmn & tkimnguyen
- Add collective.z3cform.datagridfield to the buildout.cfg | We are doing this to get the most recent code because if not then there will be importing errors
2. Import these following lines in my_content.py
from collective.z3cform.datagridfield import DataGridFieldFactory
from collective.z3cform.datagridfield import BlockDataGridFieldFactory
3. Create the schema for the table
4. Add it to the the form schema
5. Create a custom edit form
Tips:
- Import Errors
- Make sure the code is the most up to date
- Check eggs
- Update build as per step one