⚠ 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

adding if condition for a row/cell



livewire
  • profile picture
  • Member

Posted 05 August 2013 - 14:49 PM

is there a way to implement an if condition to a Gcrud cell?

 

im having a table  which has a set of task and completed days. by default the date is

0000-00-00 00:00:00

so it means the task is not completed. so in my table view i would like to set, if the date is "0000-00-00 00:00:00" display as not completed instead of the date and if a proper date is set, display as completed

 

is this possible in grocery crud?

 


davidoster
  • profile picture
  • Member

Posted 05 August 2013 - 15:20 PM

Use the callback_column.