TableConfig
This configuration contains all configurations for the given table type.
Configuration methods
Ignore
Determines if the table should be ignored in the admin UI.
Parameters:
ignore
: A boolean value to set if the table should be ignored.
Returns:
TableConfigurator<TModel>
Property (With configurator)
Configures the property of the table using the provided configurator.
Parameters:
propertyExpression
: Used for determining the property.configurator
: Used for configuring the property.
Returns:
TableConfigurator<TModel>
See Also: PropertyConfig
Property (Without configurator)
Configures the property of the table.
Parameters:
propertyExpression
: Used for determining the property.
Returns:
PropertyConfigurator<TProp>
See Also: PropertyConfig
AddVirtualProperty (With configurator)
Adds a virtual property to the table view and configures it using the provided configurator (this property will not appear in the editor).
Parameters:
name
: The name of the virtual property.template
: The template used for generating the property value.configurator
: Used for configuring the virtual property.
Returns:
TableConfigurator<TModel>
See Also: PropertyConfig
AddVirtualProperty (Synchronous)
Adds a virtual property to the table view (this property will not appear in the editor).
Parameters:
name
: The name of the virtual property.template
: The template used for generating the property value.
Returns:
PropertyConfigurator<string>
See Also: PropertyConfig
AddVirtualProperty (Asynchronous)
Adds a virtual property to the table view (this property will not appear in the editor).
Parameters:
name
: The name of the virtual property.template
: The template used for generating the property value.
Returns:
PropertyConfigurator<string>
See Also: PropertyConfig
SetDisplayName
Determines the name for the table used in the admin UI and URL for the table page.
Parameters:
name
: The display name for the table.
Returns:
TableConfigurator<TModel>
SetDescription
Determines the description displayed in the admin UI.
Parameters:
description
: The description for the table.
Returns:
TableConfigurator<TModel>
SetOrderIndex
Determines the order index for the table in the admin UI.
Parameters:
index
: The order index for the table.
Returns:
TableConfigurator<TModel>
See Also: SetOrderIndex
SetViewPolicy
Determines the policy needed by a user in order to view the table.
Parameters:
policy
: The view policy string.
Returns:
TableConfigurator<TModel>
SetUpdatePolicy
Determines the policy needed by a user in order to edit the entries.
Parameters:
policy
: The update policy string.
Returns:
TableConfigurator<TModel>
SetCreatePolicy
Determines the policy needed by a user in order to create entries.
Parameters:
policy
: The create policy string.
Returns:
TableConfigurator<TModel>
SetDeletePolicy
Determines the policy needed by a user in order to delete entries.
Parameters:
policy
: The delete policy string.
Returns:
TableConfigurator<TModel>