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; }
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; }
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; }
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) { }