I decided to create PivotGird on simple table, where i have three fields
- ProductID
- PriceTypeID
- Price
So. I used such code, where i get Data using DataSetTableAdapter(i cheked that it returns adequate data)...
<dxwpg:ASPxPivotGrid ID="sdf" DataSourceID="testODS" runat="server" >
<Fields>
<dxwpg:PivotGridField ID="CA" FieldName="PriceTypeID" Area="ColumnArea" AreaIndex="0" ></dxwpg:PivotGridField>
<dxwpg:PivotGridField ID="RA" FieldName="ProductID" Area="RowArea" AreaIndex="0" > </dxwpg:PivotGridField>
<dxwpg:PivotGridField ID="DA" FieldName="Price" Area="DataArea" AreaIndex="0" Caption="Price" ></dxwpg:PivotGridField>
</Fields>
</dxwpg:ASPxPivotGrid>
<asp:ObjectDataSource ID="testODS" runat="server" SelectMethod="GetPrices" TypeName=" DataSet1TableAdapters.TestTA"></asp:ObjectDataSource>
And it creates table with "0"s in DataCells, where i need prices, also it adequately leaves cells without data empty. What can be my problem?