/// <summary> /// Sets column info at index data /// </summary> /// <param name="index">Index</param> /// <param name="dataType">Data type</param> /// <param name="specialSort">Special sort</param> public void SetColumnInfoAtIndexDataTypeSpecialSort(int index, UPMColumnDataType dataType, bool specialSort) { if (this.columnInfos == null) { this.columnInfos = new Dictionary <int, UPMGridColumnInfo>(); } this.columnInfos.SetObjectForKey(new UPMGridColumnInfo(dataType, specialSort), index); }
/// <summary> /// Sets the index of the column information at. /// </summary> /// <param name="index">The index.</param> /// <param name="dataType">Type of the data.</param> /// <param name="specialSort">if set to <c>true</c> [special sort].</param> public void SetColumnInfoAtIndex(int index, UPMColumnDataType dataType, bool specialSort) { if (this.columnInfos == null) { this.columnInfos = new Dictionary <int, UPMGridColumnInfo>(); } this.columnInfos[index] = new UPMGridColumnInfo(dataType, specialSort); }
/// <summary> /// Initializes a new instance of the <see cref="UPMGridColumnInfo"/> class. /// </summary> /// <param name="type">The type.</param> /// <param name="specialSort">if set to <c>true</c> [special sort].</param> public UPMGridColumnInfo(UPMColumnDataType type, bool specialSort) { this.DataType = type; this.SpecialSort = specialSort; }