Class X2GridView
Custom grid view display function.
Displays a dynamic grid view that permits save-able resizing and reordering of columns and also the adding of new columns based on the available fields for the model.
- CComponent
- CBaseController
- CWidget
- CBaseListView
- CGridView
- X2GridViewBase
- X2ActiveGridView
- X2GridView
Direct known subclasses
X2GridViewForSortableWidgets
public
|
|
protected
|
|
protected
|
#
addFieldNames( )
Used to populate allFieldNames property with attribute labels indexed by attribute names. |
public
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
#
init( )
Initializes the grid view. This method will initialize required property
values and instantiate |
public
|
|
protected
|
addNewColumn(),
createSpecialColumn(),
generateColumns(),
setFormatter(),
setSummaryText()
|
createDataColumn(),
getFormatter(),
getHasFooter(),
renderDataCell(),
renderFilter(),
renderTableBody(),
renderTableFooter(),
renderTableRow()
|
renderContent(),
renderEmptyText(),
renderPager(),
renderSection()
|
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
FILTER_POS_BODY,
FILTER_POS_FOOTER,
FILTER_POS_HEADER
|
public
mixed
|
$viewName |
|
|
public
string
|
$fieldFormatter | 'X2GridViewFieldFormatter' |
|
public
string
|
$dataColumnClass | 'X2DataColumn' |
#
$dataColumnClass |
public
array
|
$allFields | array () |
|
protected
mixed
|
$_fieldModels |
|
|
protected
mixed
|
$_isAdmin |
|
|
protected
mixed
|
$_model |
|
$columnOverrides,
$excludedFields,
$includedFields,
$isAdmin,
$modelName,
$specialColumnNames,
$specialColumns
|
$afterAjaxUpdate,
$ajaxType,
$ajaxUpdate,
$ajaxUpdateError,
$ajaxUrl,
$ajaxVar,
$baseScriptUrl,
$beforeAjaxUpdate,
$blankDisplay,
$columns,
$cssFile,
$enableHistory,
$filter,
$filterCssClass,
$filterPosition,
$filterSelector,
$hideHeader,
$nullDisplay,
$rowCssClass,
$rowCssClassExpression,
$rowHtmlOptionsExpression,
$selectionChanged,
$showTableOnEmpty,
$updateSelector
|
$dataProvider,
$emptyCssClass,
$emptyTagName,
$emptyText,
$enablePagination,
$enableSorting,
$htmlOptions,
$itemsCssClass,
$pager,
$pagerCssClass,
$summaryCssClass,
$summaryTagName,
$tagName,
$template
|
$actionPrefix,
$skin
|
public
boolean
|
$isAdmin |
#
If true, the grid view will be generated under the assumption that the user viewing it has full/administrative access to whichever module that it is being used in. |
$formatter,
$hasFooter
|
$controller,
$id,
$owner,
$viewPath
|