HtmlForgeX

API Reference

Class

DataTablesObjectSummaryOptions

Controls how non-enumerable complex objects are summarized inside DataTables cells. This avoids noisy CLR type names and provides compact key/value views.

Inheritance

  • Object
  • DataTablesObjectSummaryOptions

Constructors

Properties

public Boolean Enabled { get; set; } #

Enable object summarization (defaults to true).

public Int32 MaxDepth { get; set; } #

Maximum recursion depth when summarizing nested objects (default 2).

public Int32 MaxProperties { get; set; } #

Maximum number of properties to include per object level (default 6).

public Int32 MaxEnumerableItems { get; set; } #

Maximum number of items to include when joining enumerable values (default 5).

public String PairSeparator { get; set; } #

Separator used between key/value pairs. Use "<br>" for multi-line cells.

public String EnumerableSeparator { get; set; } #

Separator used to join enumerable items.

public Boolean EmphasizeKeys { get; set; } #

When true, prefixes keys in <span class='hfx-k'>Key</span> for subtle styling.

public Boolean ShowTypeName { get; set; } #

Show the type name at the beginning (disabled by default).