Free Trial Buy Now

Data Shaping Features - Fields Customization

Customization Form Style:
v
Customization Form Layout:
v
Show Customization Window
 
Page 1 of 4 (37 items)
Prev
1
2
3
4
Next
Order Year[Filter]
Order Amount
Quantity
Country(Ascending)[Filter]
Order Quarter(Ascending)[Filter]
Category Name(Ascending)[Filter]
[Collapse]Qtr 1Beverages
Condiments
Confections
Dairy Products
Grains/Cereals
Meat/Poultry
Produce
Seafood
Qtr 1 Total
[Collapse]Qtr 2Beverages
Grand Total
Page 1 of 4 (37 items)
Prev
1
2
3
4
Next

Description

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.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.