/// <summary> /// Set the rows of a batch grid starting with the first row. /// </summary> /// <param name="batchRows">Table where each TableRow represents a grid row to set. /// A TableRow is a mapping of the batch column captions to a single row's desired values.</param> public static void SetGridRows(Table batchRows) { GenericBatchFunctions.SetGridRows(batchRows, ColumnToBatchColumn); }
/// <summary> /// Set the row of a batch grid. /// </summary> /// <param name="batchRow">Mapping of the batch column captions to a single row's desired values.</param> /// <param name="row">The index of the row. The first row starts at index 1.</param> public static void SetGridRow(TableRow batchRow, int row) { GenericBatchFunctions.SetGridRow(batchRow, row, ColumnToBatchColumn); }
/// <summary> /// Get the index of the column in the batch grid. /// </summary> /// <param name="caption">The caption of the column.</param> /// <returns>The index of the TD column element within the TR headers.</returns> public static int GetColumnIndexByCaption(string caption) { return(GenericBatchFunctions.GetColumnIndexByCaption(caption, ColumnToBatchColumn)); }
/// <summary> /// Get the value of a batch grid cell. /// </summary> /// <param name="caption">The column caption of the cell.</param> /// <param name="row">The row index of the cell. The first row is index 1.</param> /// <returns>The value of the cell.</returns> public static string GetGridCellValue(string caption, int row) { return(GenericBatchFunctions.GetGridCellValue(caption, row, ColumnToBatchColumn)); }
/// <summary> /// Set the value of a batch grid cell for a specified row. /// </summary> /// <param name="caption">The caption of the column.</param> /// <param name="value">The desired value of the row.</param> /// <param name="row">The index of the row. The first row's index is 1.</param> public static void SetGridCell(string caption, string value, int row) { GenericBatchFunctions.SetGridCell(caption, value, row, ColumnToBatchColumn); }