All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

WindowExpressionBinding Class

Defines the calculation that uses a custom string expression with window functions.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v20.2.dll

Declaration

public class WindowExpressionBinding :
    WindowExpressionBindingBase
Public Class WindowExpressionBinding
    Inherits WindowExpressionBindingBase

Remarks

The following code snippet illustrates how to bind a PivotGrid field to the result of the Window Expression Calculation.

View Example

  <dx:PivotGridField ID="fieldWindowExpression" Area="DataArea" AreaIndex="7"  Name="fieldWindowExpression" Caption="WindowExpression" >
     <DataBindingSerializable>
         <dx:WindowExpressionBinding Expression="Total(Sum([Extended Price]))" PartitioningCriteria="ColumnValueAndRowParentValue">
             </dx:WindowExpressionBinding>
     </DataBindingSerializable>
     <CellFormat FormatString= "c2" FormatType= "Numeric" ></CellFormat>
 </dx:PivotGridField>

For more information, see Data Binding API.

Implements

DevExpress.XtraPivotGrid.IDesignerContextProvider
DevExpress.PivotGrid.DataBinding.IExpressionBinding
See Also