DataMap을 바인딩 하면 DataType 에 맞게
이럴 때 DataMap 을 바인딩 해놓고 정렬 하면 된다.
Hashtable hash = new Hashtable(); hash.Add("10", 10); hash.Add("20", 40); hash.Add("30", 30); hash.Add("40", 200); _flex.Cols[2].DataType = typeof(int); _flex.Cols[2].DataMap = hash; _flex.Cols[2].TextAlign = TextAlignEnum.CenterCenter; _flex.Cols[2].TextAlignFixed = TextAlignEnum.CenterCenter;
끝
'C# 상용 컨트롤' 카테고리의 다른 글
Html Agility Pack. (0) | 2013.05.09 |
---|---|
FlexGrid CheckBox 로 선택된 항목 가져오기 (0) | 2013.03.29 |
[ ComponentOne ] Sample Explorer 실행안될때 (0) | 2013.03.11 |