yii\grid\Column::renderFilterCellContent PHP Method

renderFilterCellContent() protected method

The default implementation simply renders a space. This method may be overridden to customize the rendering of the filter cell (if any).
protected renderFilterCellContent ( ) : string
return string the rendering result
    protected function renderFilterCellContent()
    {
        return $this->grid->emptyCell;
    }

Usage Example

コード例 #1
0
ファイル: DataColumn.php プロジェクト: omnilight/yz2-admin
 protected function renderFilterCellContent()
 {
     $filter = $this->guessFilter();
     if ($filter instanceof BaseFilter) {
         return $filter->render();
     }
     return Column::renderFilterCellContent();
 }
All Usage Examples Of yii\grid\Column::renderFilterCellContent