HtmlForgeX

API Reference

Class

DataTablesSearchBuilder (HtmlForgeX)

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents the configuration object passed to the DataTables SearchBuilder extension. It controls global behaviour such as whether the feature is enabled, predefined conditions and any additional custom operators.

Inheritance

  • Object
  • DataTablesSearchBuilder

Constructors

public DataTablesSearchBuilder() #

Properties

public Nullable<Boolean> Enable { get; set; } #
JsonPropertyName("enable") JsonIgnore(Condition = 3)

Enable/disable search builder

public Nullable<Int32> Conditions { get; set; } #
JsonPropertyName("conditions") JsonIgnore(Condition = 3)

Default number of condition groups

public String Logic { get; set; } #
JsonPropertyName("logic") JsonIgnore(Condition = 3)

Enable/disable group logic (AND/OR)

public Nullable<Boolean> Greyscale { get; set; } #
JsonPropertyName("greyscale") JsonIgnore(Condition = 3)

Greyscale styling

public Object PreDefined { get; set; } #
JsonPropertyName("preDefined") JsonIgnore(Condition = 3)

Pre-defined search criteria

public List<DataTablesSearchGroup> ConditionGroups { get; set; } #
JsonPropertyName("conditionGroups") JsonIgnore(Condition = 3)

Complex condition groups used for pre-defined filtering.

public Dictionary<String, String> CustomOperators { get; set; } #
JsonPropertyName("customOperators") JsonIgnore(Condition = 3)

Custom operators for filtering logic.