Table of Contents

Class GridEditScreenBase<TModel, TListModel>

Namespace
Dynamicweb.CoreUI.Screens
Assembly
Dynamicweb.CoreUI.dll
public abstract class GridEditScreenBase<TModel, TListModel> : ScreenBase where TListModel : DataListViewModel<TModel>

Type Parameters

TModel
TListModel
Inheritance
GridEditScreenBase<TModel, TListModel>
Derived
Inherited Members

Properties

Query

public DataQuerySimpleListBase<TModel, TListModel>? Query { get; }

Property Value

DataQuerySimpleListBase<TModel, TListModel>

Methods

CreateColumn(string, GridColumnComponentDefinition?, bool, bool, bool, bool?)

protected GridColumn? CreateColumn(string systemName, GridColumnComponentDefinition? columnTemplate = null, bool enableFind = true, bool enableSetValueAction = true, bool enableSearchAndReplaceAction = true, bool? isGroupable = null)

Parameters

systemName string
columnTemplate GridColumnComponentDefinition
enableFind bool
enableSetValueAction bool
enableSearchAndReplaceAction bool
isGroupable bool?

Returns

GridColumn

CreateColumn<TValue>(Expression<Func<TModel, TValue>>, GridColumnComponentDefinition?, bool, bool, bool, bool?)

protected GridColumn CreateColumn<TValue>(Expression<Func<TModel, TValue>> expression, GridColumnComponentDefinition? columnTemplate = null, bool enableFind = true, bool enableSetValueAction = true, bool enableSearchAndReplaceAction = true, bool? isGroupable = null)

Parameters

expression Expression<Func<TModel, TValue>>
columnTemplate GridColumnComponentDefinition
enableFind bool
enableSetValueAction bool
enableSearchAndReplaceAction bool
isGroupable bool?

Returns

GridColumn

Type Parameters

TValue

CreateSorting<TValue>(Expression<Func<TModel, TValue>>, SortDirection)

protected SortInfo CreateSorting<TValue>(Expression<Func<TModel, TValue>> columnExpression, SortDirection direction)

Parameters

columnExpression Expression<Func<TModel, TValue>>
direction SortDirection

Returns

SortInfo

Type Parameters

TValue

GetColumnRules(string)

protected virtual IEnumerable<GridColumnRule?>? GetColumnRules(string systemName)

Parameters

systemName string

Returns

IEnumerable<GridColumnRule>

GetColumns()

protected virtual IEnumerable<GridColumn>? GetColumns()

Returns

IEnumerable<GridColumn>

GetCustomConfiguration()

protected virtual GridEditScreenConfiguration? GetCustomConfiguration()

Returns

GridEditScreenConfiguration

GetDefaultGridConfiguration()

protected virtual GridEditScreenConfiguration GetDefaultGridConfiguration()

Returns

GridEditScreenConfiguration

GetDefinitionInternal()

protected override sealed UiComponentBase GetDefinitionInternal()

Returns

UiComponentBase

GetDynamicFieldColumnDefinition(string)

protected virtual GridColumnComponentDefinition? GetDynamicFieldColumnDefinition(string systemName)

Parameters

systemName string

Returns

GridColumnComponentDefinition

GetGroupingColumn()

protected virtual string? GetGroupingColumn()

Returns

string

GetSaveCommand()

protected virtual CommandBase? GetSaveCommand()

Returns

CommandBase

GetScreenName()

protected virtual string GetScreenName()

Returns

string

GetSorting()

protected virtual IEnumerable<SortInfo>? GetSorting()

Returns

IEnumerable<SortInfo>

GetStaticColumns()

protected virtual IEnumerable<GridColumn>? GetStaticColumns()

Returns

IEnumerable<GridColumn>

ModifyDynamicFieldColumn(ModelDynamicFieldInfo, GridColumn)

protected virtual void ModifyDynamicFieldColumn(ModelDynamicFieldInfo dynamicField, GridColumn column)

Parameters

dynamicField ModelDynamicFieldInfo
column GridColumn

OnBuildGridEditScreen()

protected virtual void OnBuildGridEditScreen()
To top