PdfRpt.DataSources.CrosstabDataSource.CrosstabDataSource C# (CSharp) Method

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
        public CrosstabDataSource(IEnumerable source, bool topFieldsAreVariableInEachRow = false, int dumpLevel = 2)
        {
            _source = source;
            _topFieldsAreVariableInEachRow = topFieldsAreVariableInEachRow;
            _dumpLevel = dumpLevel;
        }