Grid Actions

Mixin editable grid for action form.

Props

actionButtons Object

Component Grid customizable action buttons. There are two types of actionButton: member and collection.

default: {}
member Object

It is a Grid line actionButton. The member is composed of props:

actionUrl String

URL address for ajax request. Use actionData to define the data sent.

actionData String

Object containing data sent on ajax request.

collection Object

It is a actionButton that operates throughout the Grid. The collection is composed of props:

rowHref String

Sets the action redirect link of the grid line click.

default: null

haveShowAction Boolean

If true, enables the show action.

default: false

createActionButton Object

List of additional buttons objects to the Grid. Composed of props:

default: {}
name String

Sets the name of the create button.

default: {}
href String

Redirects the page to the action window.

showActionButton Object

List of buttons show objects to the Grid. Composed of props:

href String

Redirects the page to show window.

editActionButton Object

List of edit buttons objects to the Grid. Composed of props:

href String

Redirects the page to the edit window.

destroyActionButton Object

Button object list to delete the Grid. Composed of props:

href String

Redirects the page to the current window