Paginator.ui.RowsPerPageDropdown Class
ui Component to generate the rows-per-page dropdown
Constructor
Paginator.ui.RowsPerPageDropdown
(
-
p
Parameters:
-
p
PagintorPaginator instance to attach to
Item Index
Methods
_handleTotalRecordsChange
(
protected
-
e
Updates the all option value (and Paginator's rowsPerPage attribute if necessary) in response to a change in the Paginator's totalRecords.
Parameters:
-
e
Eventattribute change event
destroy
()
private
Removes the select node and clears event listeners
onChange
(
-
e
Listener for the select's onchange event. Sent to setRowsPerPage method.
Parameters:
-
e
DOMEventThe change event
rebuild
()
(Re)generate the select options.
render
(
HTMLElement
-
id_base
Generate the select and option nodes and returns the select node.
Parameters:
-
id_base
Stringused to create unique ids for generated nodes
Returns:
HTMLElement:
update
(
-
e
Select the appropriate option if changed.
Parameters:
-
e
CustomEventThe calling change event
Properties
all
HTMLElement
protected
option node for the optional All value
select
HTMLElement
private
select node