PdfRpt.Core.Helper.TableHelper.AddSimpleRow C# (CSharp) Method

AddSimpleRow() public static method

Adds a new row to the specified table. The default IColumnItemsTemplate would be TextBlockField.
public static AddSimpleRow ( this table ) : void
table this
return void
        public static void AddSimpleRow(this PdfGrid table, params Action<CellRowData, CellBasicProperties>[] cellsData)
        {
            if (table.NumberOfColumns != cellsData.Length)
                throw new InvalidOperationException("table.NumberOfColumns(" + table.NumberOfColumns + ") != cellsData.Length(" + cellsData.Length + ")");

            foreach (var item in cellsData)
            {
                addSimpleRowCell(table, item);
            }
        }