<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadPivotGridWithConfigurationPanel.aspx.cs"
    Inherits="RadPivotGridWithConfigurationPanel" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    <script>
        function pageLoad() { 
           
        }

        function onClientLoad(sender, args) {


        }

    </script>
        <telerik:RadScriptManager runat="server">
        </telerik:RadScriptManager>
        <asp:Button runat="server" ID="btn1" Text="Collapse PlaneType row" 
            onclick="btn1_Click" />
        <br />
        <telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" AllowFiltering="true" AllowPaging="true" Width="500px"
            ShowFilterHeaderZone="false" ShowDataHeaderZone="false" EnableZoneContextMenu="true" ShowRowHeaderZone="false"
            ShowColumnHeaderZone="false" EnableConfigurationPanel="true" AllowSorting="true"
            OnNeedDataSource="RadPivotGrid1_NeedDataSource"> 

            <ColumnHeaderCellStyle Width="20px" />
            <Fields>
            
                <telerik:PivotGridColumnField DataField="Country" UniqueName="Country">
                </telerik:PivotGridColumnField>
                <telerik:PivotGridRowField DataField="PlaneType" UniqueName="PlaneType">
                </telerik:PivotGridRowField>
            </Fields>
            <ConfigurationPanelSettings  Position="Left" DefaultDeferedLayoutUpdate="true" />
            <ClientSettings>
            <Scrolling AllowVerticalScroll="true" />

            </ClientSettings>
        </telerik:RadPivotGrid>
   
    </div>
    </form>
</body>
</html>
