carga de trabajo sobre la retroalimentación
This commit is contained in:
@@ -520,6 +520,9 @@ public partial class CRM_RepAcercamientosRechazos : ClsPaginas
|
||||
PdfPTable table = new PdfPTable(numeroDeColumnas);
|
||||
table.WidthPercentage = 100f;
|
||||
|
||||
//float[] anchoColumnas = this.ColumnasWidth();
|
||||
//table.SetWidths(anchoColumnas);
|
||||
|
||||
BaseColor headerBackGroundColor = new BaseColor(240, 240, 240);
|
||||
Font fuente = FontFactory.GetFont("Arial", 9f);
|
||||
|
||||
@@ -550,6 +553,30 @@ public partial class CRM_RepAcercamientosRechazos : ClsPaginas
|
||||
return table;
|
||||
}
|
||||
|
||||
private float[] ColumnasWidth()
|
||||
{
|
||||
int CantidadColumnas = GVRepAcercamientosEtapas.Columns.Count;
|
||||
float[] ColumnsWidth = new float[CantidadColumnas];
|
||||
|
||||
int cursor = 0;
|
||||
DataControlFieldCollection ColumnsCollection = GVRepAcercamientosEtapas.Columns;
|
||||
foreach (DataControlField columns in ColumnsCollection)
|
||||
{
|
||||
//if (columns.HeaderText == "Total")
|
||||
//{
|
||||
// ColumnsWidth[cursor] = 20f;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// ColumnsWidth[cursor] = 80f;
|
||||
//}
|
||||
|
||||
cursor++;
|
||||
}
|
||||
|
||||
return ColumnsWidth;
|
||||
}
|
||||
|
||||
protected void LnkExcel_Click(object sender, EventArgs e)
|
||||
{
|
||||
GVRepAcercamientosEtapas.ExportToExcelGembox("Reporte de Rechazos de Acercamiento", UsuarioActual, "", "", "Reporte de Rechazos de Acercamiento", "", -1);
|
||||
|
||||
Reference in New Issue
Block a user