Exemplo n.º 1
0
 internal static void SetColumnSummaryType(this ModelMetadata metadata, JqGridColumnSummaryTypes type)
 {
     metadata.AdditionalValues.Add(_summaryTypeKey, type);
 }
 /// <summary>
 /// Initializes a new instance of the JqGridColumnGroupingSummaryAttribute class.
 /// </summary>
 /// <param name="type">Type of summary</param>
 public JqGridColumnSummaryAttribute(JqGridColumnSummaryTypes type)
 {
     Type     = type;
     Template = JqGridOptionsDefaults.ColumnModel.SummaryTemplate;
     Function = null;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the JqGridColumnGroupingSummaryAttribute class.
 /// </summary>
 /// <param name="type">Type of summary</param>
 public JqGridColumnSummaryAttribute(JqGridColumnSummaryTypes type)
 {
     this.Type     = type;
     this.Template = "{0}";
 }
 internal static void SetColumnSummaryType(this ModelMetadata metadata, JqGridColumnSummaryTypes type)
 {
     metadata.AdditionalValues.Add(_summaryTypeKey, type);
 }
 /// <summary>
 /// Initializes a new instance of the JqGridColumnGroupingSummaryAttribute class.
 /// </summary>
 /// <param name="type">Type of summary</param>
 public JqGridColumnSummaryAttribute(JqGridColumnSummaryTypes type)
 {
     this.Type = type;
     this.Template = "{0}";
 }