Class WorkspaceRowActionListingConfigurationExtensions
Contains workspace-based extension methods for IRowActionListingConfiguration.
public static class WorkspaceRowActionListingConfigurationExtensions
- Inheritance
-
objectWorkspaceRowActionListingConfigurationExtensions
Methods
AddEditRowAction<TEditPage>(IRowActionListingConfiguration, int, Action<ActionConfiguration, IDataContainer>, PageParameterValues)
Creates an action configuration which redirects to the edit page specified by the TEditPage
.
public static IRowActionListingConfiguration AddEditRowAction<TEditPage>(this IRowActionListingConfiguration configuration, int workspaceId, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, PageParameterValues parameters = null)
Parameters
configuration
IRowActionListingConfigurationConfiguration.
workspaceId
intWorkspace ID.
actionStateEvaluator
Action<ActionConfiguration, IDataContainer>Action used for table action state evaluation per each row.
parameters
PageParameterValuesParameter values to be substituted into the URL.
Returns
Type Parameters
TEditPage
Remarks
Action permissions are evaluated based on the workspace specified by workspaceId
.
This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.