PdfRpt.Core.Helper.TableHelper.AddSimpleRow C# (CSharp) 메소드

AddSimpleRow() 공개 정적인 메소드

Adds a new row to the specified table. The default IColumnItemsTemplate would be TextBlockField.
public static AddSimpleRow ( this table ) : void
table this
리턴 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);
            }
        }