[]
        
(Showing Draft Content)

C1.Web.Mvc.Sheet.Fluent.TableBuilder

TableBuilder Class

Defines a builder to configurate Table.

Inheritance
HideObjectMembers
TableBuilder
Namespace: C1.Web.Mvc.Sheet.Fluent
Assembly: C1.AspNetCore.Mvc.FlexSheet.dll
Syntax
public class TableBuilder : BaseBuilder<Table, TableBuilder>

Constructors

Name Description
TableBuilder(Table)

Creates one TableBuilder instance to configurate obj.

Methods

Name Description
AlterFirstColumn(bool)

Configurates AlterFirstColumn. Sets a value that determines whether the first table column should have the style applied.

AlterLastColumn(bool)

Configurates AlterLastColumn. Sets a value that determines whether the last table column should have the style applied.

Bind(Action<CollectionViewServiceBuilder<object>>)

Sets ItemsSource by builder.

Bind(IEnumerable<object>)

Binds to a collection.

Bind(string)

Sets the read action url.

BindODataSource(Action<ODataCollectionViewServiceBuilder<object>>)

Configurates ItemsSource. Sets ItemsSource settings.

Columns(Action<ListItemFactory<TableColumn, TableColumnBuilder>>)

Sets the Columns property.

Name(string)

Configurates Name. Sets the table name.

Range(CellRange)

Sets the Range property.

Range(int, int, int?, int?)

Sets the Range property.

ShowBandedColumns(bool)

Configurates ShowBandedColumns. Indicating whether banded column formatting is applied.

ShowBandedRows(bool)

Configurates ShowBandedRows. Sets a value that determines whether banded row formatting is applied.

ShowHeaderRow(bool)

Configurates ShowHeaderRow. Indicates whether the table should include a header row.

ShowTotalRow(bool)

Configurates ShowTotalRow. Indicates whether the table should include a total row.

Style(TableStyle)

Sets the Style property.