⚠ 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

I do not want to display some field



ryanmartono
  • profile picture
  • Member

Posted 14 February 2013 - 04:13 AM

hi, all..sorry if my english is not good..i'm indonesian..

I do not want to display some field in view grid..

how should i code in controllers, i have use $crud->unset_fields('session_id'); but it doesnt work..

what should i do ?
thanks before..

:)


victor
  • profile picture
  • Member

Posted 14 February 2013 - 04:33 AM

Welcome to the forum.
You can use $crud-> columns();
More info here: http://www.grocerycrud.com/documentation/options_functions/columns

ryanmartono
  • profile picture
  • Member

Posted 15 February 2013 - 02:38 AM

thanks victor..it works.!! :)