Take the 2-minute tour ×

In Agile Toolkit framework, when I add a CRUD object, can I specify which fields are visible during Grid mode and which fields are visible during Edit mode?

I am using "setModel()" to populate fields. E.g.

$crud = $this->add("CRUD");
share|improve this question
add comment

closed as unclear what you're asking by Mitch Wheat, Kevin Panko, falsetru, David Cain, doelleri Oct 8 '13 at 16:30


1 Answer

up vote 3 down vote accepted

CRUD == Grid + Form

So you want to show one bunch of Model fields in Grid and another in Form.

    array('name','username','email','password'), <-- Form fields
    array('name','email','password')             <-- Grid fields


share|improve this answer
add comment
