Api.setFieldValueFromPopup

 Show all Hide all

Usable in popups opened by menuItemPopup. Sets the given value to the field indicated by the inputName parameter to menuItemPopup and then closes the popup. If the menu item is not a popup then behavior is undefined.

This function is unable to set the value of fields in multirows.

Alternatives

You can use the Execute or NewEdit component's admin_setfieldvaluefrompoup column instead.

Usage

Api.setFieldValueFromPopup(value)

value : object

Value to assign to the field.