Beispiel #1
0
 private void Exporter_CellExporting(object sender, CellExportingEventArgs e)
 {
     if (e.Field.Label == null || string.IsNullOrWhiteSpace(e.Field.Label.ToString()))
     {
         e.Cancel           = true;
         e.Field.Visibility = Visibility.Collapsed;
         return;
     }
 }
Beispiel #2
0
    protected void ugrdEEP_CellExporting(object sender, CellExportingEventArgs e)
    {
        if (e.GridRow != null && e.GridColumn.Key == "CHECK_YN")
        {
            e.Value = e.GridRow.Cells.FromKey("CHECK_YN_CODE").Value;
        }

        if (e.GridRow != null && e.GridColumn.Key == "SIGNAL_IMAGE")
        {
            e.Value = "";
        }

        if (e.GridRow != null && e.GridColumn.Key == "TREND")
        {
            e.Value = e.GridRow.Cells.FromKey("TREND_CODE").Value;
        }
    }
Beispiel #3
0
 protected void ugrdEEP_CellExporting(object sender, CellExportingEventArgs e)
 {
     this.SetCoulumStlye(e.CurrentWorksheet, e.CurrentRowIndex, e.CurrentColumnIndex);
 }