This is the base class for data grid pager renderers. Subclasses can be used by the data grid to
render custom pager markup overriding one or both of the
PagerRenderer.internalRender() and
PagerRenderer.noDataRender() methods. Additional methods are implemented here as a convenience and may be overriden by
subclasses needing to change their behavior.
Build literal text for the string displayed when there is no first page for the data set. This
text is generally used when the
PagerModel is already on the first page. By default, this text is
obtained using the
IDataGridMessageKeys.PAGER_MSG_FIRST message key.
the text for the first page link
Build literal text for the string displayed when there is no last page for the data set. This
text is generally used when the
PagerModel is on the last page. By default, this text is
obtained using the
IDataGridMessageKeys.PAGER_MSG_LAST message key.
the text for the last page link
Build literal text for the string displayed when there is no next page for the data set. This
text is generally used when the
PagerModel is on the last page. By default, this text is
obtained using the
IDataGridMessageKeys.PAGER_MSG_NEXT message key.
the text for the next page link
Build literal text for the string displayed when there is no previous page for the data set. This
text is generally used when the
PagerModel is on the first page. By default, this text is
obtained using the
IDataGridMessageKeys.PAGER_MSG_PREVIOUS message key.
the text for the previous page link
Build an HTML anchor that contains URL state for navigating to the next page of a data set. The
next page is calculated relative to the current location in the
PagerModel the HTML markup for anchor to the next page
Build an HTML anchor that contains URL state for navigating to the previous page of a data set. The
previous page is calculated relative to the current location in the
PagerModel the HTML markup for anchor to the previous page
Set the
DataGridTagModel with which this pager renderer instance is associated. Pager renderer
instances should not be shared between data grids without setting a
DataGridTagModel for
each data grid.
Parameters: dataGridTagModel - the DataGridTagModel