понедельник, 4 апреля 2016 г.

ORO-Platform: WorkFlowBundle + DataGridBundle : Workflow Step

If you'd like to hide from "DataGrids" "WorkFlow Step" column by default, then add to entity confing

/**
* @ORM\Entity()
* @ORM\Table(
* name="academic_issues"
* )
* @Config(
* defaultValues={


* "workflow"={
* "show_step_in_grid"=false
* }
* }
* )


)
*/
And never use in your "DataGrid" definitions any following columns:
  • "workflowStep"
  • "workflowStepLabel"
  • "step"
  • "stepLabel"
Because they added automatically here and if "show_step_in_grid" is FALSE they are removed here