/**
  * {@inheritdoc}
  */
 public function buildCellView(ColumnTypeInterface $column, CellViewInterface $view)
 {
     if (!$column->getOption('editable')) {
         return;
     }
     $data = $view->getSource();
     $index = $view->getAttribute('row');
     $form = $this->createForm($column, $index, $data);
     $view->setAttribute('form', $form->createView());
 }
 /**
  * @param CellViewInterface $view
  * @param $action
  * @param $content
  * @param array $urlAttrs
  * @param array $fieldMappingValues
  * @return string
  */
 public function datagridColumnActionCellActionWidget(CellViewInterface $view, $action, $content, $urlAttrs = array(), $fieldMappingValues = array())
 {
     $dataGridView = $view->getDataGridView();
     $blockNames = array('datagrid_' . $dataGridView->getName() . '_column_type_action_cell_action_' . $action, 'datagrid_column_type_action_cell_action_' . $action, 'datagrid_' . $dataGridView->getName() . '_column_type_action_cell_action', 'datagrid_column_type_action_cell_action');
     $context = array('content' => $content, 'attr' => $urlAttrs, 'translation_domain' => $view->getAttribute('translation_domain'), 'field_mapping_values' => $fieldMappingValues);
     return $this->renderTheme($dataGridView, $context, $blockNames);
 }