Show Customization Window

Page 1 of 4 (37 items)
Prev
[1]
2
3
4
Next
Order Year
Order Amount
Quantity
Country
Order Quarter
Category Name
UKUSAGrand Total
Order AmountQuantityOrder AmountQuantityOrder AmountQuantity
Qtr 1Beverages$40,534.20834$74,651.351975$115,185.552809
Condiments$7,472.55365$24,412.101196$31,884.651561
Confections$7,569.64369$47,582.442305$55,152.082674
Dairy Products$24,389.40811$44,579.502012$68,968.902823
Grains/Cereals$9,646.85433$24,832.201100$34,479.051533
Meat/Poultry$8,908.32180$60,782.841422$69,691.161602
Produce$6,023.15204$19,141.40628$25,164.55832
Seafood$8,225.40464$32,994.991698$41,220.392162
Qtr 1 Total$112,769.513660$328,976.8212336$441,746.3315996
Qtr 2Beverages$11,191.25851$80,663.702448$91,854.953299
Grand Total$378,025.8413887$976,432.7537430$1,354,458.5951317
Page 1 of 4 (37 items)
Prev
[1]
2
3
4
Next
Description
C#
VB
ASPX

This example shows the Fields Customization Window. This allows you to temporarily hide specific fields and then restore them again when needed.

ASPxPivotGrid allows you to show and hide the Fields Customization Window both on the server (using C# or VB code) and on the client using JavaScript. This demo shows the JavaScript usage. Here, when clicking the btnCustomizationFields button, we are calling the ChangeCustomizationFieldsVisibility() function which hides or shows the Fields Customization Window.

The ChangeCustomizationFieldsVisibility function is a part of the ASPxPivotGrid's ClientSideAPI. The ClientSideAPI is a collection of functions and events available on the client. These functions are disabled by default. To turn them on, set the EnableClientSideAPI property value to true.

Also, the demo shows the usage of the ClientSide CustomizationFieldsVisibleChanged event. When fired, this event changes the btnCustomizationFields button caption from "Show" to "Hide" and vice versa. This event is available only when the EnableClientSideAPI property is true.