HtmlForgeX

API Reference

Class

DataTablesFlatteningOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Options controlling how values are flattened for DataTables.

Inheritance

  • Object
  • DataTablesFlatteningOptions

Constructors

Properties

public DataTablesEnumerableFormat GlobalEnumerableFormat { get; set; } #

Default mode used when flattening enumerable values.

public String Separator { get; set; } #

Default separator used when joining values.

public String JoinProperty { get; set; } #

Optional property name used when flattening complex objects via JoinProperty.

public Nullable<Int32> MaxItems { get; set; } #

Optional cap on how many items are rendered before collapsing into an overflow indicator.

public String EmptyPlaceholder { get; set; } #

Placeholder string rendered when the enumerable is empty.

public Dictionary<String, DataTablesFlattenRule> PropertyRules { get; } #

Per-column overrides keyed by header.