⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Not all of field of table?



samsun
  • profile picture
  • Member

Posted 30 May 2012 - 02:44 AM

Dear All,

I am stduying to use grocery for my application, i have a question.
How so not all of the fields in the database appears in the form?
Example: table office have field : name, address, phone, status.
and i want in form just name, address, an phone.

Regard,
Samsun

Raboo
  • profile picture
  • Member

Posted 30 May 2012 - 10:24 AM

$crud->unset_columns('status');

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 30 May 2012 - 20:20 PM

http://www.grocerycrud.com/documentation/options_functions/columns