Method | Description | |
---|---|---|
parseExcelFormats ( array &$options, |
Parses Excel Cell Formats for export | |
renderFilterCell ( ) : string | Renders the filter cell. | |
renderHeaderCell ( ) : string | Renders the header cell. | |
renderPageSummaryCell ( ) : string | Renders the page summary cell. |
Method | Description | |
---|---|---|
calculateSummary ( ) : float | Calculates the summary of an input data based on page summary aggregration function. | |
checkValidFilters ( ) | Checks if the filter input types are valid | |
fetchContentOptions ( mixed $model, mixed $key, integer $index ) : array | Parses and fetches updated content options for grid visibility and format | |
getColumnKey ( ) : mixed | Generate an unique column key | |
getFooterCellContent ( ) : string | Get the raw footer cell content. | |
getPageSummaryCellContent ( ) : string | Gets the raw page summary cell content. | |
initGrouping ( ) : void | Initializes grid grouping | |
initPjax ( string $script = '' ) | Initialize column specific JS functionality whenever pjax request completes | |
isValidAlignment ( string $type = 'hAlign' ) : boolean | Check if the alignment provided is valid | |
parseFormat ( ) | Parses and formats a grid column | |
parseGrouping ( array &$options, |
Parses grid grouping and sets data attributes | |
parseVal ( string | integer | Closur\Closure $var, |
Parses a value if Closure and returns the right value | |
parseVisibility ( ) | Checks hidden property and hides the column from display | |
renderPageSummaryCellContent ( ) : string | Renders the page summary cell content. | |
setPageRows ( ) | Store all rows for the column for the current page |
protected calculateSummary ( ) : float | ||
return | float |
protected checkValidFilters ( ) |
protected fetchContentOptions ( mixed $model, mixed $key, integer $index ) : array | ||
$model | mixed | the data model being rendered |
$key | mixed | the key associated with the data model |
$index | integer | the zero-based index of the data item among the item array returned by [[GridView::dataProvider]]. |
return | array |
protected getColumnKey ( ) : mixed | ||
return | mixed |
protected getPageSummaryCellContent ( ) : string | ||
return | string | the rendered result |
protected initGrouping ( ) : void | ||
return | void |
protected isValidAlignment ( string $type = 'hAlign' ) : boolean | ||
$type | string | the alignment type |
return | boolean |
public parseExcelFormats ( array &$options, |
||
$options | array | the HTML attributes for the cell |
$model | the current model being rendered | |
$key | mixed | the primary key value for the model |
$index | integer | the zero-based index of the model being rendered |
protected parseVal ( string | integer | Closur\Closure $var, |
||
$var | string | integer | Closur\Closure | the variable to parse |
$model | the model instance | |
$key | string | object | the current model key value |
$index | integer | the index of the current record in the data provider |
return | mixed |
protected parseVisibility ( ) |
public renderFilterCell ( ) : string | ||
return | string |
public renderHeaderCell ( ) : string | ||
return | string |
public renderPageSummaryCell ( ) : string | ||
return | string | the rendered result |
protected renderPageSummaryCellContent ( ) : string | ||
return | string | the rendered result |
protected setPageRows ( ) |