첨부 소스 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<dxg:GridControl x:Name="gridControl"
    CustomSummary="gridControl_CustomSummary"
    GroupCount="1">
    <dxg:GridControl.Columns>
        <dxg:GridColumn FieldName="Text"   />
        <dxg:GridColumn FieldName="Number" />
    </dxg:GridControl.Columns>
    <dxg:GridControl.SortInfo>
        <dxg:GridSortInfo FieldName="Text" />
    </dxg:GridControl.SortInfo>
    <dxg:GridControl.GroupSummary>
        <dxg:GridSummaryItem
            FieldName="Number"
            SummaryType="Custom" 
            DisplayFormat="Group empty cells count : {0}" />
    </dxg:GridControl.GroupSummary>
    <dxg:GridControl.TotalSummary>
        <dxg:GridSummaryItem
            FieldName="Number"
            SummaryType="Custom" 
            DisplayFormat="Total empty cells count : {0}"/>
    </dxg:GridControl.TotalSummary>
    <dxg:GridControl.View>
        <dxg:TableView x:Name="tableView"
            ShowTotalSummary="True"
            NavigationStyle="Cell" />
    </dxg:GridControl.View>
</dxg:GridControl>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요