It includes an action in the sandbox that is conditionally enabled/disabled, so that you can see this in action.
Here are the testing instructions from the commit:
1) Apply this commit and recompile eg2.
2) Open the eg2 sandbox (https://yourdomain/eg2/staff/sandbox)
3) Ensure that the action called "Action that needs a single row"
is only enabled when one row of the grid is selected.
4) Create more <eg-grid-toolbar-actions> on grids in eg2. Make sure
that they all enable/disable those actions per the output of the
functions you reference in the [disabled] attribute.
I created a branch for this called user/sandbergja /lp1808268_ add_disable_ option_ to_eg2_ grid_toolbar_ action
Here's a link: http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sandbergja/ lp1808268_ add_disable_ option_ to_eg2_ grid_toolbar_ action
It includes an action in the sandbox that is conditionally enabled/disabled, so that you can see this in action.
Here are the testing instructions from the commit: /yourdomain/ eg2/staff/ sandbox) toolbar- actions> on grids in eg2. Make sure
1) Apply this commit and recompile eg2.
2) Open the eg2 sandbox (https:/
3) Ensure that the action called "Action that needs a single row"
is only enabled when one row of the grid is selected.
4) Create more <eg-grid-
that they all enable/disable those actions per the output of the
functions you reference in the [disabled] attribute.