Example #1
0
 public void SetCellTypeRow(int rowIndex, ExcelTableCellType type)
 {
     for (int column = 1; column <= NumberOfColumns; column++)
     {
         ExcelTableCell cell = GetCell(rowIndex, column);
         if (cell != null)
         {
             cell.Type = type;
         }
     }
 }
Example #2
0
 public void SetCellTypeColumn(int columnIndex, ExcelTableCellType type, List <string> values = null)
 {
     for (int row = 1; row <= NumberOfRows; row++)
     {
         ExcelTableCell cell = GetCell(row, columnIndex);
         if (cell != null)
         {
             cell.Type = type;
             if (values != null)
             {
                 cell.ValueSelected = values;
             }
         }
     }
 }
Example #3
0
 public void SetCellTypeColumn(int columnIndex, ExcelTableCellType type, List<string> values = null)
 {
     for (int row = 1; row <= NumberOfRows; row++)
     {
         ExcelTableCell cell = GetCell(row, columnIndex);
         if (cell != null)
         {
             cell.Type = type;
             if (values != null)
             {
                 cell.ValueSelected = values;
             }
         }
     }
 }
Example #4
0
 public void SetCellTypeRow(int rowIndex, ExcelTableCellType type)
 {
     for (int column = 1; column <= NumberOfColumns; column++)
     {
         ExcelTableCell cell = GetCell(rowIndex, column);
         if (cell != null)
         {
             cell.Type = type;
         }
     }
 }