Skip to content
🚀 Rapid Application Development with the App Builder

customActionsBottom ​

Add custom actions to the form actions shown at the bottom left corner.

Parameters ​

ParameterTypeDescription
rowobjectObject containing the original values of all columns as shown below.
modeenumINSERT | UPDATE | VIEW

Structure parameter row ​

js
row: {
	column_1: " - value column 1 - ",
	column_2: " - value column 2 - ",
	column_n: " - value column n - ",
}

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: Adding a custom button using a template literal ​

js
((row, mode) => {

	wpda.log.info("message from customActionsBottom", row, mode)
  
	return `<button onclick="wpda.alert('Alert', '<div><strong>Button clicked!</strong></div>')">
		Custom Action
	</button>`

})

Other Examples ​