Interface RowModalFormAction<A extends RowModalFormAction<A>>

    • Method Detail

      • iconName

        default A iconName​(String iconName)
        The name of the icon to use for the row action. If none provided, the label will be rendered. It is recommended to supply an icon name for better usability.

        See http://www.zondicons.com/icons.html for a list of icon names available.

        Parameters:
        iconName - the name of the icon.
        Returns:
        this
      • mapInitialValues

        default A mapInitialValues​(Mapping<?>... mappingsToAdd)
        Configure mappings from the row or context to the form's initial state. This is used in order to ensure the submission of form data inherits certain values from the row or context, for example:
         // maps the row's "id" to the "productId" field in the create form
         action.mapInitialValues(Mappings.mapValue("row.id", "productId");
         
        Parameters:
        mappingsToAdd - the mappings to add
        Returns:
        the action
      • mapInitialValues

        default A mapInitialValues​(Collection<Mapping<?>> mappingsToAdd)
        Configure mappings from the row or context to the create form's state. This is used in order to ensure the submission of form data inherits certain values from the row or context.
        Parameters:
        mappingsToAdd - the mappings to add
        Returns:
        the action
        See Also:
        for more details
      • refreshOnMount

        default A refreshOnMount()
        Indicate this action should trigger a refresh of the parent FetchGrid after a successful submission.
        Returns:
        this
      • notRefreshOnMount

        default A notRefreshOnMount()
        Undo a previous call to refreshOnMount().
        Returns:
        this