2011-08-08 1 views
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; 
+2

$ grid-> setExport (array())를 사용해 보셨습니까? – vascowhite

+0

잘 주셔서 감사합니다 .. null 값을 전달하려고했습니다 : –

+0

아무런 문제가 없습니다. 답변을 수락 할 수 있다면 게시했습니다. – vascowhite

답변

2
$grid->setExport(array()); 

당신을 위해 무엇을 찾고있는 사람입니다.