示例#1
0
 protected void gridMerchantList_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
 {
     if (e.FormattedColumn.UniqueName == "StatusDescription")
     {
         e.Cell.Style["Color"] = "#FFF";
     }
 }
示例#2
0
        internal static void OnExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
        {
            switch (e.FormattedColumn.UniqueName.ToLower())
            {
            case "nip":
                e.Cell.Style["mso-number-format"] = @"\@";
                break;

            case "realisasi":
                e.Cell.Style["mso-number-format"] = @"0";
                break;
            }
        }
        protected void gridCapturas_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
        {
            GridDataItem item = e.Cell.Parent as GridDataItem;

            if (item.ItemType == GridItemType.AlternatingItem)
            {
                item.Style["background-color"] = "#1A79A7";
            }
            else
            {
                item.Style["background-color"] = "#EEEEEE";
            }

            item.Style["border-style"] = "solid";
            item.Style["border-color"] = "#808080";
        }
 protected void gridMerchantList_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
 {
     if (e.FormattedColumn.UniqueName == "StatusDescription")
     {
         e.Cell.Style["Color"] = "#FFF";
     }
 }
示例#5
0
 protected void RadGrid1_OnExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
 {
     Helper.GirdHelper.OnExportCellFormatting(sender, e);
 }
 protected void gridUnderwritingHistory_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
 {
 }