Module: control

JavaScript methods for control view.
Author:
  • Juha Moisio <juha.pa.moisio at student.jyu.fi>
Source:

Methods

(inner) focusDataTableEditInput(table)

Sets the last editable data table row into edit mode and sets the focus to it's first editable input.
Parameters:
Name Type Description
table string The identifier, id or class name of the data table.
Source:

(inner) onDialogSuccess(args, dialogWidgetVar, message)

Hides the dialog on succesfull submit and displays the given message.
Parameters:
Name Type Description
args object Containing the validationFailed attribute.
dialogWidgetVar string The widget variable of the dialog.
message string The given message.
Source:

(inner) submitDataTableEditInputs(table)

Submits the data table rows in edit mode.
Parameters:
Name Type Description
table string The identifier, id or class name of the data table.
Source: