Skip to content
🚀 Rapid Application Development with the App Builder

customActionsBottom ​

The customActionsBottom hook allows developers to add custom actions to the table actions shown at the bottom left corner. Please be aware that these actions are only accessible to users when pagination is set to BOTTOM or BOTH.

Parameters ​

ParameterTypeDescription
tablereferenceTable instance and state.

Structure parameter table ​

js
table: {
	instance: *ref_to_table_api,
	state: *ref_to_table_store,
	requery: *ref_to_requery_table_function,
}

The requery function supports two optional parameters:

js
requery(recalculateRowCount, enableLoadingFeedback)
  • recalculateRowCount: When true, forces a row count recalculation. (default: false)
  • enableLoadingFeedback: When false, disables the spinner and progress bar. (default: true)

Return Value ​

TypeDescription
stringAn HTML string, typically created using a template literal.
HTMLElementA DOM element node created with vanilla JavaScript.
jQueryA jQuery object wrapping the new element.

✨ Example of a customActionBottom Hook ​

js
((table) => {
	return `<div>
		<button onclick="alert('My custom action')">My Custom Action</button>
	</div>`
})

✨ Example of a Global Function Call ​

js
((table) => {
	return myCustomAction()
})

Other Examples ​