Class RowActionListingConfigurationExtensions
Contains extension methods for IRowActionListingConfiguration
public static class RowActionListingConfigurationExtensions
- Inheritance
-
objectRowActionListingConfigurationExtensions
Methods
AddCommandRowAction(IRowActionListingConfiguration, string)
Creates an action configuration invoking a custom command.
public static IRowActionListingConfiguration AddCommandRowAction(this IRowActionListingConfiguration configuration, string commandName)
Parameters
configuration
IRowActionListingConfigurationConfiguration.
commandName
stringCommand name
Returns
- IRowActionListingConfiguration
Updated configuration.
AddEditRowAction<TEditPage>(IRowActionListingConfiguration, 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, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, PageParameterValues parameters = null)
Parameters
configuration
IRowActionListingConfigurationConfiguration.
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
This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.
AddEditRowAction<TEditPage>(IRowActionListingConfiguration, Action<ActionConfiguration, IDataContainer>, params string[])
Creates an action configuration which redirects to the edit page specified by the TEditPage
.
[Obsolete("Use AddEditRowAction with PageParameterValues instead.")]
[ObsoleteSince(29, 5)]
public static IRowActionListingConfiguration AddEditRowAction<TEditPage>(this IRowActionListingConfiguration configuration, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, params string[] parameters)
Parameters
configuration
IRowActionListingConfigurationConfiguration.
actionStateEvaluator
Action<ActionConfiguration, IDataContainer>Action used for table action state evaluation per each row.
parameters
string[]Parameter values to be substituted into the URL. Provide the parameters in the same order as they would appear in the URL.
Returns
Type Parameters
TEditPage
Remarks
This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.