■ UltraGrid 클래스에서 컬럼 SUMMARY 위치를 설정하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
using Infragistics.Win.UltraWinGrid; private UltraGrid ultraGrid; ... this.ultraGrid.DisplayLayout.Bands[0].Columns["Country"].AllowRowSummaries = AllowRowSummaries.True; this.ultraGrid.DisplayLayout.Bands[0].Summaries.Add ( SummaryType.Minimum, null, this.ultraGrid.DisplayLayout.Bands[0].Columns["Country"], SummaryPosition.Left, null ); // this.ultraGrid.DisplayLayout.Bands[0].Summaries[0].SummaryPosition = SummaryPosition.Center; this.ultraGrid.DisplayLayout.Bands[0].SummaryFooterCaption = "My Sums"; |