Table of Contents

Class FilterAction

Namespace
JJMasterData.Core.DataDictionary.Models.Actions
Assembly
JJMasterData.Core.dll

Represents the dictionary export button.

public sealed class FilterAction : GridToolbarAction
Inheritance
FilterAction
Inherited Members

Constructors

FilterAction()

public FilterAction()

Fields

ActionName

public const string ActionName = "filter"

Field Value

string

Properties

EnableScreenSearch

Habilitar pesquisa rápida na tela.
Essa pesquisa não consulta o banco de dados, apenas procura os registros exibidos na grid.
Normalmente utilizada quando a paginação da grid esta desabilitada.

(Default = false)
[JsonProperty("enableScreenSearch")]
[Display(Name = "Enable Client-Side Search")]
public bool EnableScreenSearch { get; set; }

Property Value

bool

Remarks

Quando essa propriedade é habilitada todos os campos de filtro serão ignorados e apenas um campo texto será aprensentado para o usuário como opção de filtro.
Se a propriedade ShowAsCollapse estiver desabilitada o campo de texto será exibido na Toolbar junto com os botões de acão respeitando a ordem configurada.

ExpandedByDefault

Exibir o collapse painel aberto por padrão. Aplícavél somente se a propriedade ShowAsCollapse estiver habilitada

(Default = false)
[JsonProperty("expandedByDefault")]
[Display(Name = "Expanded By Default")]
public bool ExpandedByDefault { get; set; }

Property Value

bool

ShowAsCollapse

Display in a collapsible panel.

(Default = true)
[JsonProperty("showAsCollapse")]
[Display(Name = "Show as Collapse")]
public bool ShowAsCollapse { get; set; }

Property Value

bool

Remarks

When this property is enabled, the filter icon will be removed from the grid's toolbar, and a panel with filters will be displayed above the grid. The filter's behavior remains the same.

ShowIconAtCollapse

[JsonProperty("showIconAtCollapse")]
[Display(Name = "Show Icon At Collapse")]
public bool ShowIconAtCollapse { get; set; }

Property Value

bool

Methods

DeepCopy()

public override BasicAction DeepCopy()

Returns

BasicAction