■ PivotGridField 클래스 : SortByConditions 속성을 사용해 특정 컬럼 데이터 값에 의해 행 정렬하기

----------------------------------------------------------------------------------------------------

 

Year (2002), Month (February), Day (2) 컬럼 값에 따라 정렬하기

 

using DevExpress.Xpf.PivotGrid;

 

this.trademarkPivotGridField.SortByField = this.pricePivotGridField;

 

this.trademarkPivotGridField.SortByConditions.Add(new SortByCondition(this.yearPivotGridField , 2002));

this.trademarkPivotGridField.SortByConditions.Add(new SortByCondition(this.monthPivotGridField, 2   ));

this.trademarkPivotGridField.SortByConditions.Add(new SortByCondition(this.dayPivotGridField  , 2   ));

 

Year (2002), Month (February) 컬럼 값에 따라 정렬하기

 

using DevExpress.Xpf.PivotGrid;

 

this.trademarkPivotGridField.SortByField = this.pricePivotGridField;

 

this.trademarkPivotGridField.SortByConditions.Add(new SortByCondition(this.yearPivotGridField , 2002));

this.trademarkPivotGridField.SortByConditions.Add(new SortByCondition(this.monthPivotGridField, 2   ));

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요