madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

is there any way to unset the fields #896

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I am using crud function 'before_insert'.
2. so I want to unset the fields after using this CRUD function to avoid 
further insertion
3.how can I unset the fields?

What is the expected output? What do you see instead?

Please insert the appropriate values;
Zend Framework version:
ZFDatgrid Version (Bvb_Grid::getVersion()):
Operating system:
PHP Version:
Database Server and version:
Source Adatapter:

Please provide any additional information below.

Original issue reported on code.google.com by sainiama...@gmail.com on 21 Oct 2013 at 5:38

GoogleCodeExporter commented 9 years ago
I got the answer:- 
I have to include  $form->setIsPerformCrudAllowedForAddition(false);

Original comment by sainiama...@gmail.com on 21 Oct 2013 at 8:28