C# Class PdfRpt.DataSources.CrosstabDataSource

A Dynamic Crosstab DataSource
Inheritance: IDataSource
ファイルを表示 Open project: VahidN/PdfReport

Public Methods

Method Description
CrosstabDataSource ( IEnumerable source, bool topFieldsAreVariableInEachRow = false, int dumpLevel = 2 ) : System

Converts the result of the CrosstabExtension.Pivot method to an IEnumerable of Pdf Cells Data

Rows ( ) : IEnumerable>

The data to render.

Private Methods

Method Description
findFirstInsertIndex ( List firstRowsDataItems, int &topFieldsIndex, int &insertIndex ) : void
insertMissingTopFields ( List firstRowsDataItems, int topFieldsIndex, int insertIndex ) : void
modifyRowInsertVariableFields ( List firstRowsDataItems ) : void
processIEnumerables ( ICollection list, object columnObject ) : void
processNormalProperties ( ICollection list, object columnObject ) : void

Method Details

CrosstabDataSource() public method

Converts the result of the CrosstabExtension.Pivot method to an IEnumerable of Pdf Cells Data
public CrosstabDataSource ( IEnumerable source, bool topFieldsAreVariableInEachRow = false, int dumpLevel = 2 ) : System
source IEnumerable Result of the CrosstabExtension.Pivot method
topFieldsAreVariableInEachRow bool Indicates whether top fields should be prepopulated before starting the main table's rendering or not
dumpLevel int how many levels should be searched
return System

Rows() public method

The data to render.
public Rows ( ) : IEnumerable>
return IEnumerable>