public function optionsAction($name) {

        $dtProvider = $this->getDataTablesProvider($name);

        $dtWrapper = $this->getDataTablesWrapper($dtProvider);

        $dtOptions = DataTablesWrapperHelper::getOptions($dtWrapper);

        return new JsonResponse($dtOptions);
    }