Table of Contents

Class HtmlTableSink

Namespace
Datafication.Core.Sinks
Assembly
Datafication.Core.dll

Transforms a DataBlock object into an HTML table representation.

public class HtmlTableSink : IDataSink<string>
Inheritance
object
HtmlTableSink
Implements
IDataSink<string>

Properties

RowLimit

Gets or sets the row limit for the HTML table.

public int RowLimit { get; set; }

Property Value

int

ShowMoreRowsText

Gets or sets the bool that determines whether or not the "xxx more rows" after the table is shown.

public bool ShowMoreRowsText { get; set; }

Property Value

bool

UseAlternateRowColor

Gets or sets a boolean value to decide whether to use alternate row color.

public bool UseAlternateRowColor { get; set; }

Property Value

bool

UseAutoScalingFromWidth

Gets or sets a boolean value to decide whether to auto scale the table based on width.

public bool UseAutoScalingFromWidth { get; set; }

Property Value

bool

Methods

Transform(DataBlock)

Transforms the provided data records into an HTML table representation.

public Task<string> Transform(DataBlock records)

Parameters

records DataBlock

The data records to transform.

Returns

Task<string>

An HTML table representation of the data records.