Esempio n. 1
0
 public ColumnSpec(string columnName, Func <T, bool?> nullableBoolValueFunc, int gridWidth,
                   DhtmlxGridColumnDataType dhtmlxGridColumnDataType, DhtmlxGridColumnFormatType dhtmlxGridColumnFormatType,
                   DhtmlxGridColumnAlignType dhtmlxGridColumnAlignType, DhtmlxGridColumnSortType dhtmlxGridColumnSortType,
                   DhtmlxGridColumnFilterType dhtmlxGridColumnFilterType,
                   DhtmlxGridColumnAggregationType dhtmlxGridColumnAggregationType, Func <T, string> cssClassFunction,
                   Func <T, string> titleFunction)
     : this(
         columnName, gridWidth, dhtmlxGridColumnDataType, dhtmlxGridColumnFormatType, dhtmlxGridColumnAlignType,
         dhtmlxGridColumnSortType, dhtmlxGridColumnFilterType, dhtmlxGridColumnAggregationType, cssClassFunction,
         titleFunction)
 {
     _nullableBoolValueFunc = nullableBoolValueFunc;
     _funcType = FuncType.NullableBool;
 }
Esempio n. 2
0
 public ColumnSpec(string columnName, Func <T, HtmlString> htmlStringValueFunc, int gridWidth,
                   DhtmlxGridColumnDataType dhtmlxGridColumnDataType, DhtmlxGridColumnFormatType dhtmlxGridColumnFormatType,
                   DhtmlxGridColumnAlignType dhtmlxGridColumnAlignType, DhtmlxGridColumnSortType dhtmlxGridColumnSortType,
                   DhtmlxGridColumnFilterType dhtmlxGridColumnFilterType,
                   DhtmlxGridColumnAggregationType dhtmlxGridColumnAggregationType, Func <T, string> cssClassFunction,
                   Func <T, string> titleFunction)
     : this(
         columnName, gridWidth, dhtmlxGridColumnDataType, dhtmlxGridColumnFormatType, dhtmlxGridColumnAlignType,
         dhtmlxGridColumnSortType, dhtmlxGridColumnFilterType, dhtmlxGridColumnAggregationType, cssClassFunction,
         titleFunction)
 {
     _htmlStringValueFunc = htmlStringValueFunc;
     _funcType            = FuncType.HtmlString;
 }
Esempio n. 3
0
 private ColumnSpec(string columnName, int gridWidth, DhtmlxGridColumnDataType dhtmlxGridColumnDataType,
                    DhtmlxGridColumnFormatType dhtmlxGridColumnFormatType, DhtmlxGridColumnAlignType dhtmlxGridColumnAlignType,
                    DhtmlxGridColumnSortType dhtmlxGridColumnSortType, DhtmlxGridColumnFilterType dhtmlxGridColumnFilterType,
                    DhtmlxGridColumnAggregationType dhtmlxGridColumnAggregationType, Func <T, string> cssClassFunction,
                    Func <T, string> titleFunction)
 {
     ColumnName = columnName;
     DhtmlxGridColumnDataType = dhtmlxGridColumnDataType;
     GridWidth = gridWidth;
     DhtmlxGridColumnSortType   = dhtmlxGridColumnSortType;
     DhtmlxGridColumnFilterType = dhtmlxGridColumnFilterType;
     GridColumnAggregationType  = dhtmlxGridColumnAggregationType;
     DhtmlxGridColumnFormatType = dhtmlxGridColumnFormatType ?? DhtmlxGridColumnFormatType.None;
     DhtmlxGridColumnAlignType  = dhtmlxGridColumnAlignType;
     _cssClassFunction          = cssClassFunction;
     _titleFunction             = titleFunction;
 }
Esempio n. 4
0
 private ColumnSpec(string columnName, int gridWidth, DhtmlxGridColumnDataType dhtmlxGridColumnDataType,
                    DhtmlxGridColumnFormatType dhtmlxGridColumnFormatType, DhtmlxGridColumnAlignType dhtmlxGridColumnAlignType,
                    DhtmlxGridColumnSortType dhtmlxGridColumnSortType, DhtmlxGridColumnFilterType dhtmlxGridColumnFilterType,
                    DhtmlxGridColumnAggregationType dhtmlxGridColumnAggregationType, Func <T, string> cssClassFunction,
                    Func <T, string> titleFunction) : this(columnName
                                                           , gridWidth
                                                           , dhtmlxGridColumnDataType
                                                           , dhtmlxGridColumnFormatType
                                                           , dhtmlxGridColumnAlignType
                                                           , dhtmlxGridColumnSortType
                                                           , dhtmlxGridColumnFilterType
                                                           , dhtmlxGridColumnAggregationType
                                                           , cssClassFunction
                                                           , titleFunction
                                                           , false)
 {
 }