Namespace jQuery.tabulate.event_handlers
Defined in: jquery.tabulate.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Contains the event handlers that are attached to the $wrapper.
|
Event Attributes | Event Name and Description |
---|---|
<static> |
jQuery.tabulate.event_handlers.loading(Object, Boolean)
Shows or hides the loading element.
|
<static> |
jQuery.tabulate.event_handlers.no_results(Object)
Called if there was no data to tabulate upon.
|
<static> |
jQuery.tabulate.event_handlers.post_init(Object)
Called after jQuery.tabulate.init finishes processing.
|
<static> |
jQuery.tabulate.event_handlers.post_load(Object, data)
Called after jQuery.tabulate.load finishes processing.
|
<static> |
jQuery.tabulate.event_handlers.post_tabulate(Object, Object)
Called after jQuery.tabulate.tabulate finishes processing.
|
<static> |
jQuery.tabulate.event_handlers.refresh(Object, Object, Object)
Refresh changes the scope of the data shown.
|
<static> |
jQuery.tabulate.event_handlers.reset(Object)
Resets tabulate back to it's default state.
|
Namespace Detail
jQuery.tabulate.event_handlers
Contains the event handlers that are attached to the $wrapper.
These handlers can be overridden by those passed into the plugin.
- See:
- jQuery.tabulate.$wrapper
- jQuery.tabulate.options.event_handlers
Event Detail
<static>
jQuery.tabulate.event_handlers.loading(Object, Boolean)
Shows or hides the loading element.
- Parameters:
- Object
- event The jQuery.Event Object
- Boolean
- bool (optional) Whether or not to show the loading element. By default, the element will be toggled.
- See:
- jQuery.tabulate.options.elements.$loading
- The jQuery Event Object
<static>
jQuery.tabulate.event_handlers.no_results(Object)
Called if there was no data to tabulate upon.
- Parameters:
- Object
- event The jQuery Event object.
<static>
jQuery.tabulate.event_handlers.post_init(Object)
Called after jQuery.tabulate.init finishes processing.
By default, this function applies the colSpan property to the footer of the table, populates the results-per-page dropdown, and then triggers jQuery.tabulate.event_handlers.event:refresh.
- Parameters:
- Object
- event The jQuery Event Object
- See:
- The jQuery Event Object
<static>
jQuery.tabulate.event_handlers.post_load(Object, data)
Called after jQuery.tabulate.load finishes processing.
By default, triggers jQuery.tabulate.tabulate.
- Parameters:
- Object
- event The jQuery Event Object
- data
- See:
- The jQuery Event Object
<static>
jQuery.tabulate.event_handlers.post_tabulate(Object, Object)
Called after jQuery.tabulate.tabulate finishes processing.
By default, updates statistical information in the footer.
- Parameters:
- Object
- event The jQuery Event Object
- Object
- data The data object that was passed into jQuery.tabulate.tabulate.
- See:
- The jQuery Event Object
<static>
jQuery.tabulate.event_handlers.refresh(Object, Object, Object)
Refresh changes the scope of the data shown. This might mean
gathering and displaying new data, or simply changing the display
scope of data we already have.
- Parameters:
- Object
- event The jQuery.Event object
- Object
- request The data request object
- Object
- filters Filters to apply to the request
- See:
- The jQuery Event Object
<static>
jQuery.tabulate.event_handlers.reset(Object)
Resets tabulate back to it's default state.
- Parameters:
- Object
- event The jQuery Event Object