Skip to content

Commit 6b4c96a

Browse files
Update sorting.md
1 parent eb37347 commit 6b4c96a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blazor/pivot-table/sorting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can also configure member sorting during initial rendering using the [PivotV
4646

4747
N> By default the [Order](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.PivotSortSetting.html#Syncfusion_Blazor_PivotView_PivotSortSetting_Order) property in the [PivotViewSortSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.PivotViewSortSetting.html) class set as [Sorting.Ascending](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.Sorting.html). Meanwhile, we can arrange the field members as its order in data source by setting it as [Sorting.None](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.PivotView.Sorting.html#Syncfusion_Blazor_PivotView_Sorting_None) where the sort icons in grouping bar and field list buttons for the corresponding field will be removed.
4848

49-
The following example demonstrates how to configure the Pivot Table to enable member sorting and set the "Year" field to sort in descending order:
49+
The following example demonstrates how to configure the Pivot Table to enable member sorting and set the "Country" field to sort in descending order:
5050

5151
```cshtml
5252
@using Syncfusion.Blazor.PivotView
@@ -69,7 +69,7 @@ The following example demonstrates how to configure the Pivot Table to enable me
6969
            <PivotViewFormatSetting Name="Amount" Format="C"></PivotViewFormatSetting>
7070
        </PivotViewFormatSettings>
7171
        <PivotViewSortSettings>
72-
            <PivotViewSortSetting Name="Year" Order=Sorting.Descending></PivotViewSortSetting>
72+
            <PivotViewSortSetting Name="Country" Order=Sorting.Descending></PivotViewSortSetting>
7373
        </PivotViewSortSettings>
7474
    </PivotViewDataSourceSettings>
7575
</SfPivotView>

0 commit comments

Comments
 (0)