0
아래 코드에서 $grid->setExport(array('pdf', 'csv','excel','wordx'));
줄을 주석 처리하면 pdf, Excel 및 기타 형식과 같은 모든 기본값이 표시됩니다.in zend zfdata 표 제거 pdf, Excel 및 기타 내보내기 옵션
아래 코드에서 setExport
을 어떻게 제거합니까?
$view = new Zend_View();
$view->setEncoding('ISO-8859-1');
$config = new Zend_Config_Ini('./application/configs/grid.ini', 'production');
$grid = Bvb_Grid::factory('Table', $config, $id);
$grid->setEscapeOutput(false);
$grid->setExport(array('pdf', 'csv','excel','wordx'));
return $grid;
$ grid-> setExport (array())를 사용해 보셨습니까? – vascowhite
잘 주셔서 감사합니다 .. null 값을 전달하려고했습니다 : –
아무런 문제가 없습니다. 답변을 수락 할 수 있다면 게시했습니다. – vascowhite