Class DataTable
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
org.primefaces.component.patch.UIDataPatch
org.primefaces.component.api.PrimeUIData
org.primefaces.component.api.UIPageableData
org.primefaces.component.datatable.DataTableBase
org.primefaces.component.datatable.DataTable
- All Implemented Interfaces:
EventListener
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.NamingContainer
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.UniqueIdVendor
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,ColumnAware
,MultiViewStateAware<DataTableState>
,Pageable
,PrimeClientBehaviorHolder
,RTLAware
,TouchAware
,UITable<DataTableState>
,Widget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.primefaces.component.datatable.DataTableBase
DataTableBase.PropertyKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.primefaces.component.datatable.DataTableBase
COMPONENT_FAMILY, DEFAULT_RENDERER
Fields inherited from class org.primefaces.component.api.UIPageableData
EMPTY_MESSAGE, PAGINATOR_ACTIVE_PAGE_CLASS, PAGINATOR_BOTTOM_CONTAINER_CLASS, PAGINATOR_BOTTOM_LEFT_CONTENT_CLASS, PAGINATOR_BOTTOM_RIGHT_CONTENT_CLASS, PAGINATOR_CENTER_CONTENT_CLASS, PAGINATOR_CURRENT_CLASS, PAGINATOR_FIRST_PAGE_ICON_CLASS, PAGINATOR_FIRST_PAGE_LINK_CLASS, PAGINATOR_JTP_INPUT_CLASS, PAGINATOR_JTP_SELECT_CLASS, PAGINATOR_LAST_PAGE_ICON_CLASS, PAGINATOR_LAST_PAGE_LINK_CLASS, PAGINATOR_NEXT_PAGE_ICON_CLASS, PAGINATOR_NEXT_PAGE_LINK_CLASS, PAGINATOR_PAGE_CLASS, PAGINATOR_PAGES_CLASS, PAGINATOR_PREV_PAGE_ICON_CLASS, PAGINATOR_PREV_PAGE_LINK_CLASS, PAGINATOR_RPP_LABEL_CLASS, PAGINATOR_RPP_OPTIONS_CLASS, PAGINATOR_TOP_CONTAINER_CLASS, PAGINATOR_TOP_LEFT_CONTENT_CLASS, PAGINATOR_TOP_RIGHT_CONTENT_CLASS
Fields inherited from class org.primefaces.component.patch.UIDataPatch
_initialDescendantFullComponentState, _rowDeltaStates, _rowTransientStates, baseClientId, isNested, oldVar, SB_ID
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
Fields inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
DEFAULT_SELECT_EVENT_NAMES
Fields inherited from interface org.primefaces.component.api.UITable
GLOBAL_FILTER_COMPONENT_ID
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_CONSTRUCT, CALLBACK_PRE_DESTROY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collapseRow
(String rowKey) static Object
convertIntoObjectValueType
(javax.faces.context.FacesContext context, DataTable table, List<?> value) void
void
Recalculates filteredValue after adding, updating or removing rows to/from a filtered DataTable.List
<?> int
protected List
<javax.faces.component.UIComponent> getMultiViewState
(boolean create) getRowData
(String rowKey) int
getWidth()
boolean
protected boolean
isCacheableColumns
(List<UIColumn> columns) boolean
isCellEditCancelRequest
(javax.faces.context.FacesContext context) boolean
isCellEditInitRequest
(javax.faces.context.FacesContext context) boolean
isClientCacheRequest
(javax.faces.context.FacesContext context) boolean
boolean
isFullUpdateRequest
(javax.faces.context.FacesContext context) boolean
boolean
isPageStateRequest
(javax.faces.context.FacesContext context) boolean
isReset()
boolean
isRowEditCancelRequest
(javax.faces.context.FacesContext context) boolean
isRowEditInitRequest
(javax.faces.context.FacesContext context) boolean
isRowEditRequest
(javax.faces.context.FacesContext context) boolean
isScrollingRequest
(javax.faces.context.FacesContext context) boolean
boolean
boolean
boolean
void
void
loadLazyScrollData
(int offset, int rows) protected void
processChildren
(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) protected void
processColumnFacets
(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) void
processEvent
(javax.faces.event.ComponentSystemEvent event) void
processUpdates
(javax.faces.context.FacesContext context) Override the defaultUIComponentBase.processUpdates(javax.faces.context.FacesContext)
processing to perform the following steps.void
processValidators
(javax.faces.context.FacesContext context) Override the defaultUIComponentBase.processValidators(javax.faces.context.FacesContext)
processing to perform the following steps.void
queueEvent
(javax.faces.event.FacesEvent event) Override the defaultUIComponentBase.queueEvent(javax.faces.event.FacesEvent)
processing to wrap any queued events in a wrapper so that we can reset the current row index inbroadcast()
.protected boolean
void
reset()
void
void
void
saveState
(javax.faces.context.FacesContext context) void
void
setColumnMeta
(Map<String, ColumnMeta> columnMeta) void
setColumns
(List<UIColumn> columns) void
setExpandedRowKeys
(Set<String> expandedRowKeys) void
setFilterByAsMap
(Map<String, FilterMeta> filterBy) void
setFilteredValue
(List<?> filteredValue) void
setScrollOffset
(int scrollOffset) void
setSelectAll
(boolean selectAll) void
setSelectedRowKeys
(Set<String> selectedRowKeys) void
setSortByAsMap
(Map<String, SortMeta> sortBy) void
boolean
shouldEncodeFeature
(javax.faces.context.FacesContext context) protected boolean
shouldSkipChildren
(javax.faces.context.FacesContext context) void
unselectRow
(String rowKey) void
updateExpansionWithMVS
(Set<String> rowKeys) void
updateSelectionWithMVS
(Set<String> rowKeys) protected boolean
visitRows
(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback, boolean visitRows) Methods inherited from class org.primefaces.component.datatable.DataTableBase
getAriaRowLabel, getCellEditMode, getCellSeparator, getDataLocale, getDir, getDraggableRowsFunction, getEditInitEvent, getEditMode, getExportRowTag, getExportTag, getFamily, getFilterBy, getFilterDelay, getFilterEvent, getFrozenColumns, getFrozenColumnsAlignment, getFrozenRows, getGlobalFilter, getGlobalFilterFunction, getLiveScrollBuffer, getOnExpandStart, getOnRowClick, getResizeMode, getRowDragSelector, getRowEditMode, getRowExpandMode, getRowKey, getRowSelector, getRowStyleClass, getRowTitle, getScrollHeight, getScrollRows, getScrollWidth, getSelection, getSelectionMode, getSelectionRowMode, getSize, getSortBy, getSortMode, getStickyTopAt, getStyle, getStyleClass, getSummary, getTabindex, getTableStyle, getTableStyleClass, getWidgetVar, isAllowUnsorting, isCellNavigation, isClientCache, isDisableContextMenuIfEmpty, isDraggableColumns, isDraggableRows, isEditable, isEditingRow, isEscapeText, isExpandedRow, isFilterNormalize, isGlobalFilterOnly, isLiveResize, isLiveScroll, isMultiViewState, isNativeElements, isPartialUpdate, isReflow, isRenderEmptyFacets, isResizableColumns, isRowHover, isSaveOnCellBlur, isScrollable, isSelectAllFilteredOnly, isSelectionDisabled, isSelectionPageOnly, isSelectionTextDisabled, isShowGridlines, isShowSelectAll, isSkipChildren, isStickyHeader, isStripedRows, isVirtualScroll, setAllowUnsorting, setAriaRowLabel, setCellEditMode, setCellNavigation, setCellSeparator, setClientCache, setDataLocale, setDir, setDisableContextMenuIfEmpty, setDraggableColumns, setDraggableRows, setDraggableRowsFunction, setEditable, setEditingRow, setEditInitEvent, setEditMode, setEscapeText, setExpandedRow, setExportRowTag, setExportTag, setFilterBy, setFilterDelay, setFilterEvent, setFilterNormalize, setFrozenColumns, setFrozenColumnsAlignment, setFrozenRows, setGlobalFilter, setGlobalFilterFunction, setGlobalFilterOnly, setLiveResize, setLiveScroll, setLiveScrollBuffer, setMultiViewState, setNativeElements, setOnExpandStart, setOnRowClick, setPartialUpdate, setReflow, setRenderEmptyFacets, setResizableColumns, setResizeMode, setRowDragSelector, setRowEditMode, setRowExpandMode, setRowHover, setRowKey, setRowSelector, setRowStyleClass, setRowTitle, setSaveOnCellBlur, setScrollable, setScrollHeight, setScrollRows, setScrollWidth, setSelectAllFilteredOnly, setSelection, setSelectionDisabled, setSelectionMode, setSelectionPageOnly, setSelectionRowMode, setSelectionTextDisabled, setShowGridlines, setShowSelectAll, setSize, setSkipChildren, setSortBy, setSortMode, setStickyHeader, setStickyTopAt, setStripedRows, setStyle, setStyleClass, setSummary, setTabindex, setTableStyle, setTableStyleClass, setVirtualScroll, setWidgetVar
Methods inherited from class org.primefaces.component.api.UIPageableData
calculateFirst, calculateRows, getCurrentPageReportTemplate, getEmptyMessage, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRows, getRowsPerPage, getRowsPerPageTemplate, getRowsToRender, isPaginationRequest, isPaginator, isPaginatorAlwaysVisible, isTouchable, resetRows, setCurrentPageReportTemplate, setEmptyMessage, setFirst, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRows, setRowsPerPage, setRowsPerPageTemplate, setTouchable, updatePaginationData
Methods inherited from class org.primefaces.component.api.PrimeUIData
getRowIndexVar, isLazy, isNestedWithinIterator, iterate, process, processFacets, restoreDescendantState, saveDescendantState, setLazy, setRowIndexVar, setRowIndexWithoutRowStatePreserved, setRowModel, shouldProcessChild, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitTree
Methods inherited from class org.primefaces.component.patch.UIDataPatch
broadcast, contextHasErrorMessages, doVisitChildren, encodeBegin, getClientId, getContainerClientId, getRowIndex, getVar, keepSaved, markInitialState, preDecode, preEncode, preUpdate, preValidate, processDecodes, requiresRowIteration, restoreDescendantState, restoreFullDescendantComponentDeltaStates, restoreFullDescendantComponentStates, restoreState, restoreTransientDescendantComponentStates, saveDescendantInitialComponentStates, saveDescendantState, saveFullDescendantComponentStates, saveTransientDescendantComponentStates, setId, setRowIndex, setRowIndexRowStatePreserved, setVar, visitFacets
Methods inherited from class javax.faces.component.UIData
createUniqueId, getDataModel, getFirst, getFooter, getHeader, getRowCount, getRowData, getValue, invokeOnComponent, isRowAvailable, isRowStatePreserved, setDataModel, setFooter, setHeader, setRowStatePreserved, setValue, setValueBinding, setValueExpression
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
Methods inherited from interface org.primefaces.component.api.ColumnAware
collectColumns, findColumn, findColumnInGroup, forEachColumn, forEachColumn, forEachColumn, forEachColumnGroupRow, getColumnGroup, getColumnsCount, getColumnsCount, getColumnsCountWithSpan, getColumnsCountWithSpan, getOrderedColumnKeys, invokeOnColumn, invokeOnColumn
Methods inherited from interface org.primefaces.component.api.Pageable
getClientId, getFacet, getFirst, getFooter, getHeader, getRowCount
Methods inherited from interface org.primefaces.component.api.UITable
decodeColumnDisplayOrderState, decodeColumnResizeState, decodeColumnTogglerState, getActiveFilterMeta, getActiveSortMeta, getChildCount, getChildren, getClientId, getColumnsWidthForClientSide, getConvertedFieldValue, getFieldValue, getFilterValue, getHighestPriorityActiveSortMeta, getSortMetaAsString, getVar, hasFooterColumn, initFilterBy, initSortBy, isColumnFilterable, isColumnSortable, isFilteringCurrentlyActive, isFilteringEnabled, isSortingCurrentlyActive, isSortingEnabled, resetColumns, resolveDataLocale, updateFilterByValuesWithFilterRequest, updateFilterByWithGlobalFilter, updateFilterByWithMVS, updateFilterByWithUserFilterBy, updateSortByWithMVS, updateSortByWithUserSortBy
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_TYPE
- See Also:
-
CONTAINER_CLASS
- See Also:
-
TABLE_WRAPPER_CLASS
- See Also:
-
REFLOW_CLASS
- See Also:
-
RTL_CLASS
- See Also:
-
COLUMN_HEADER_CLASS
- See Also:
-
DYNAMIC_COLUMN_HEADER_CLASS
- See Also:
-
COLUMN_HEADER_CONTAINER_CLASS
- See Also:
-
COLUMN_FOOTER_CLASS
- See Also:
-
COLUMN_FOOTER_CONTAINER_CLASS
- See Also:
-
DATA_CLASS
- See Also:
-
ROW_CLASS
- See Also:
-
SELECTABLE_ROW_CLASS
- See Also:
-
EMPTY_MESSAGE_ROW_CLASS
- See Also:
-
HEADER_CLASS
- See Also:
-
FOOTER_CLASS
- See Also:
-
SORTABLE_COLUMN_CLASS
- See Also:
-
SORTABLE_COLUMN_ICON_CLASS
- See Also:
-
SORTABLE_COLUMN_ASCENDING_ICON_CLASS
- See Also:
-
SORTABLE_COLUMN_DESCENDING_ICON_CLASS
- See Also:
-
SORTABLE_PRIORITY_CLASS
- See Also:
-
STATIC_COLUMN_CLASS
- See Also:
-
UNSELECTABLE_COLUMN_CLASS
- See Also:
-
HIDDEN_COLUMN_CLASS
- See Also:
-
FILTER_COLUMN_CLASS
- See Also:
-
COLUMN_TITLE_CLASS
- See Also:
-
COLUMN_FILTER_CLASS
- See Also:
-
COLUMN_INPUT_FILTER_CLASS
- See Also:
-
COLUMN_CUSTOM_FILTER_CLASS
- See Also:
-
RESIZABLE_COLUMN_CLASS
- See Also:
-
DRAGGABLE_COLUMN_CLASS
- See Also:
-
EXPANDED_ROW_CLASS
- See Also:
-
EXPANDED_ROW_CONTENT_CLASS
- See Also:
-
ROW_TOGGLER_CLASS
- See Also:
-
EDITABLE_COLUMN_CLASS
- See Also:
-
CELL_EDITOR_CLASS
- See Also:
-
CELL_EDITOR_INPUT_CLASS
- See Also:
-
CELL_EDITOR_OUTPUT_CLASS
- See Also:
-
CELL_EDITOR_DISABLED_CLASS
- See Also:
-
ROW_EDITOR_COLUMN_CLASS
- See Also:
-
ROW_EDITOR_CLASS
- See Also:
-
SELECTION_COLUMN_CLASS
- See Also:
-
GROUPED_COLUMN_CLASS
- See Also:
-
EVEN_ROW_CLASS
- See Also:
-
ODD_ROW_CLASS
- See Also:
-
SCROLLABLE_CONTAINER_CLASS
- See Also:
-
SCROLLABLE_HEADER_CLASS
- See Also:
-
SCROLLABLE_HEADER_BOX_CLASS
- See Also:
-
SCROLLABLE_BODY_CLASS
- See Also:
-
SCROLLABLE_FOOTER_CLASS
- See Also:
-
SCROLLABLE_FOOTER_BOX_CLASS
- See Also:
-
VIRTUALSCROLL_WRAPPER_CLASS
- See Also:
-
VIRTUALSCROLL_TABLE_CLASS
- See Also:
-
COLUMN_RESIZER_CLASS
- See Also:
-
RESIZABLE_CONTAINER_CLASS
- See Also:
-
SUBTABLE_HEADER
- See Also:
-
SUBTABLE_FOOTER
- See Also:
-
SUMMARY_ROW_CLASS
- See Also:
-
HEADER_ROW_CLASS
- See Also:
-
ROW_GROUP_TOGGLER_CLASS
- See Also:
-
ROW_GROUP_TOGGLER_OPEN_ICON_CLASS
- See Also:
-
ROW_GROUP_TOGGLER_CLOSED_ICON_CLASS
- See Also:
-
EDITING_ROW_CLASS
- See Also:
-
STICKY_HEADER_CLASS
- See Also:
-
SORT_LABEL
- See Also:
-
SORT_ASC
- See Also:
-
SORT_DESC
- See Also:
-
STRIPED_ROWS_CLASS
- See Also:
-
GRIDLINES_CLASS
- See Also:
-
SMALL_SIZE_CLASS
- See Also:
-
LARGE_SIZE_CLASS
- See Also:
-
-
Constructor Details
-
DataTable
public DataTable()
-
-
Method Details
-
shouldEncodeFeature
public boolean shouldEncodeFeature(javax.faces.context.FacesContext context) -
isFullUpdateRequest
public boolean isFullUpdateRequest(javax.faces.context.FacesContext context) -
isRowEditRequest
public boolean isRowEditRequest(javax.faces.context.FacesContext context) -
isRowEditInitRequest
public boolean isRowEditInitRequest(javax.faces.context.FacesContext context) -
isCellEditCancelRequest
public boolean isCellEditCancelRequest(javax.faces.context.FacesContext context) -
isCellEditInitRequest
public boolean isCellEditInitRequest(javax.faces.context.FacesContext context) -
isClientCacheRequest
public boolean isClientCacheRequest(javax.faces.context.FacesContext context) -
isPageStateRequest
public boolean isPageStateRequest(javax.faces.context.FacesContext context) -
isScrollingRequest
public boolean isScrollingRequest(javax.faces.context.FacesContext context) -
isRowEditCancelRequest
public boolean isRowEditCancelRequest(javax.faces.context.FacesContext context) -
hasSelectionColumn
public boolean hasSelectionColumn() -
isSelectionEnabled
public boolean isSelectionEnabled() -
isSingleSelectionMode
public boolean isSingleSelectionMode() -
processEvent
public void processEvent(javax.faces.event.ComponentSystemEvent event) throws javax.faces.event.AbortProcessingException - Specified by:
processEvent
in interfacejavax.faces.event.ComponentSystemEventListener
- Overrides:
processEvent
in classjavax.faces.component.UIComponent
- Throws:
javax.faces.event.AbortProcessingException
-
processValidators
public void processValidators(javax.faces.context.FacesContext context) Description copied from class:UIDataPatch
Override the default
UIComponentBase.processValidators(javax.faces.context.FacesContext)
processing to perform the following steps.- If the
rendered
property of thisUIComponent
isfalse
, skip further processing. - Set the current
rowIndex
to -1. - Call the
processValidators()
method of all facets of thisUIData
, in the order determined by a call togetFacets().keySet().iterator()
. - Call the
processValidators()
method of all facets of theUIColumn
children of thisUIData
. - Iterate over the set
of rows that were included when this component was rendered (i.e. those
defined by the
first
androws
properties), performing the following processing for each row:- Set the
current
rowIndex
to the appropriate value for this row. - If
isRowAvailable()
returnstrue
, iterate over the children components of eachUIColumn
child of thisUIData
component, calling theprocessValidators()
method for each such child.
- Set the
current
- Set the current
rowIndex
to -1.
- Overrides:
processValidators
in classUIDataPatch
- Parameters:
context
-FacesContext
for the current request- See Also:
- If the
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context) Description copied from class:UIDataPatch
Override the default
UIComponentBase.processUpdates(javax.faces.context.FacesContext)
processing to perform the following steps.- If the
rendered
property of thisUIComponent
isfalse
, skip further processing. - Set the current
rowIndex
to -1. - Call the
processUpdates()
method of all facets of thisUIData
, in the order determined by a call togetFacets().keySet().iterator()
. - Call the
processUpdates()
method of all facets of theUIColumn
children of thisUIData
. - Iterate over the set of rows that were included when this
component was rendered (i.e. those defined by the
first
androws
properties), performing the following processing for each row:- Set the current
rowIndex
to the appropriate value for this row. - If
isRowAvailable()
returnstrue
, iterate over the children components of eachUIColumn
child of thisUIData
component, calling theprocessUpdates()
method for each such child.
- Set the current
- Set the current
rowIndex
to -1.
- Overrides:
processUpdates
in classUIDataPatch
- Parameters:
context
-FacesContext
for the current request
- If the
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event) Description copied from class:UIDataPatch
Override the default
UIComponentBase.queueEvent(javax.faces.event.FacesEvent)
processing to wrap any queued events in a wrapper so that we can reset the current row index inbroadcast()
.- Overrides:
queueEvent
in classUIDataPatch
- Parameters:
event
-FacesEvent
to be queued
-
loadLazyDataIfRequired
public void loadLazyDataIfRequired() -
loadLazyDataIfEnabled
public boolean loadLazyDataIfEnabled() -
loadLazyScrollData
public void loadLazyScrollData(int offset, int rows) -
getScrollOffset
public int getScrollOffset() -
setScrollOffset
public void setScrollOffset(int scrollOffset) -
isReset
public boolean isReset() -
resetValue
public void resetValue() -
reset
public void reset() -
getRowExpansion
-
getBehaviorEventMapping
-
getEventNames
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
getSubTable
-
getRowKey
-
getRowData
-
getExpandedRowKeys
-
setExpandedRowKeys
-
getSelectedRowKeys
-
setSelectedRowKeys
-
getSelectedRowKeysAsString
-
isSelectAll
public boolean isSelectAll() -
setSelectAll
public void setSelectAll(boolean selectAll) -
getSummaryRows
-
getHeaderRow
-
getColumns
-
setColumns
-
getScrollState
-
shouldSkipChildren
protected boolean shouldSkipChildren(javax.faces.context.FacesContext context) - Overrides:
shouldSkipChildren
in classPrimeUIData
-
isMultiSort
public boolean isMultiSort() -
resolveSelectionMode
-
requiresColumns
protected boolean requiresColumns()- Overrides:
requiresColumns
in classPrimeUIData
-
processColumnFacets
protected void processColumnFacets(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) - Overrides:
processColumnFacets
in classPrimeUIData
-
visitRows
protected boolean visitRows(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback, boolean visitRows) - Overrides:
visitRows
in classPrimeUIData
-
processChildren
protected void processChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) - Overrides:
processChildren
in classPrimeUIData
-
resolveDataLocale
-
getIterableChildren
- Overrides:
getIterableChildren
in classPrimeUIData
-
getFilteredValue
-
setFilteredValue
-
saveState
- Specified by:
saveState
in interfacejavax.faces.component.StateHolder
- Overrides:
saveState
in classUIDataPatch
-
restoreMultiViewState
public void restoreMultiViewState() -
updateSelectionWithMVS
-
updateExpansionWithMVS
-
getMultiViewState
-
resetMultiViewState
public void resetMultiViewState() -
getGroupedColumnIndexes
-
getSortByAsMap
-
setSortByAsMap
-
getFilterByAsMap
-
setFilterByAsMap
-
getFrozenColumnsCount
public int getFrozenColumnsCount() -
isFilterByAsMapDefined
public boolean isFilterByAsMapDefined() -
getColumnMeta
-
setColumnMeta
-
getWidth
-
setWidth
-
filterAndSort
public void filterAndSort()Recalculates filteredValue after adding, updating or removing rows to/from a filtered DataTable. NOTE: this is only supported for non-lazy DataTables, eg bound to a java.util.List. -
selectRow
-
unselectRow
-
expandRow
-
collapseRow
-
getLazyDataModel
-
convertIntoObjectValueType
-
isCacheableColumns
-