#pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 61, true);
                WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(136, 202, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(366, 29, true);
                WriteLiteral("\r\n<div class=\"control\">\r\n    ");
                EndContext();
                BeginContext(395, 704, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ffa8bb1b9aa444569900f221387c4206", async() => {
                    BeginContext(537, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(547, 530, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1ade83f83834ecb93cbf06e21fea3fe", async() => {
                        BeginContext(562, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(576, 151, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f46662137f9d4b0d92cb2892f118d285", async() => {
                            BeginContext(590, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(608, 90, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63cbf5d99adf424aa9e56e2116614f30", async() => {
                                BeginContext(666, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(698, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(727, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(741, 139, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc939e8a49814f2fb0fd39a285686cbd", async() => {
                            BeginContext(758, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(776, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ec3cc33815ef49a69d7ab1d5a446164a", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(848, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(880, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(894, 157, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8ad4b312dc04ed2a72a96d7bc0f2af4", async() => {
                            BeginContext(910, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(928, 92, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db49e1cb7f8142f389fb248c2234a271", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_Field.Format = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1020, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1051, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1077, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1099, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1105, 79, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8b26467700642dfa00f673d15474483", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1184, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1220, 6144, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var pivot_dataset = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount: 200, Country: ""France"", Date: ""FY 2005"", Prod");
                WriteLiteral(@"uct: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q");
                WriteLiteral(@"uantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount: 150, Country: ""United States"", Date: ""FY 2008");
                WriteLiteral(@""", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
        ];
            function onload(args) {
                args.model.dataSource.data = pivot_dataset;
            }
            var pivotGrid, relationalRadioBtn, olapRadioBtn;
            $(function () {
                $(""#sampleProperties"").ejPropertiesPanel();
            });
            function renderGrid(args) {
                pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid"");
                relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'");
                WriteLiteral(@").data(""ejRadioButton"");
                var pivotdataSource = {
                    data: pivot_dataset, cube: """",
                    rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }],
                    columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }],
                    values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }],
                    filters: []
                };
                var olapDataSource = {
                    data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"",
                    rows: [{ fieldName: ""[Date].[Fiscal]"" }],
                    columns: [{ fieldName: ""[Customer].[Customer Geography]"" }],
                    values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }],
                    filters: []
                };
  ");
                WriteLiteral(@"              $("".e-pivotgrid"").remove();
                $("".e-pivotschemadesigner"").remove();
                var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML;
                var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML;
                $(gridPanel).appendTo("".control"");
                $(gridSchemaPanel).appendTo("".control"");
                $(""#PivotGrid1"").ejPivotGrid({
                    dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true,
                    enableGroupingBar: true,
                });
                if (olapRadioBtn.model.checked)
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } });
                else
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner();
            }
</script>
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7389, 971, true);
                WriteLiteral(@"
    <style>
            .e-pivotgrid {
                width: 55%;
                height: 630px;
                display: inline-block;
                float: left;
                overflow: auto;
            }

            .e-pivotschemadesigner {
                width: 40% !important;
                display: inline-block;
                margin-left: 10px;
            }

            .cols-prop-area {
                margin-top: 30px;
                width: 35%;
                height: 120px;
                min-height: 50px;
                float: left;
            }

            .radioBtnLabel {
                margin-left: 5px;
            }


        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }

    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(8390, 264, true);
                WriteLiteral(@"
<div id=""sampleProperties"">
    <div class=""prop-grid"">
        <div class=""row"">
            <div class=""col-md-3"" style=""width:120px"">
                Data Source
            </div>
            <div class=""col-md-3"" style=""width:120px"">
                ");
                EndContext();
                BeginContext(8654, 173, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6f0a1bb385b540199051067ebfaaed24", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8827, 94, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"col-md-3\" style=\"width:120px\">\r\n                ");
                EndContext();
                BeginContext(8921, 156, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ad28c43f29e84e1b8d0a0ceaa06ad2bf", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(9077, 58, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");
                EndContext();
            }
                          );
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 61, true);
                WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(136, 202, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(366, 29, true);
                WriteLiteral("\r\n<div class=\"control\">\r\n    ");
                EndContext();
                BeginContext(395, 704, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ab7a6a249ed4ff4b75ab08e9f2e9495", async() => {
                    BeginContext(537, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(547, 530, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "680183e537cd4a699fd0710a7944a685", async() => {
                        BeginContext(562, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(576, 151, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b58d8d917664d448a2a56882fa9ea17", async() => {
                            BeginContext(590, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(608, 90, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39f353f928c8459aa0f393dfeae1d92c", async() => {
                                BeginContext(666, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(698, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(727, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(741, 139, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "363bd124f61d4d19ac93be7931be9dfc", async() => {
                            BeginContext(758, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(776, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a00a5f3cac33420bb5218a3e3dea620a", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(848, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(880, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(894, 157, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9f68ed0cb5ff4af992153c844ed17d67", async() => {
                            BeginContext(910, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(928, 92, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e721b73dc1d640da9526a48f0f848b9b", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_Field.Format = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1020, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1051, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1077, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1099, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1105, 79, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca189513fc49432abd423cc7fc35add1", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1184, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1220, 6144, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var pivot_dataset = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount: 200, Country: ""France"", Date: ""FY 2005"", Prod");
                WriteLiteral(@"uct: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q");
                WriteLiteral(@"uantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount: 150, Country: ""United States"", Date: ""FY 2008");
                WriteLiteral(@""", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
        ];
            function onload(args) {
                args.model.dataSource.data = pivot_dataset;
            }
            var pivotGrid, relationalRadioBtn, olapRadioBtn;
            $(function () {
                $(""#sampleProperties"").ejPropertiesPanel();
            });
            function renderGrid(args) {
                pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid"");
                relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'");
                WriteLiteral(@").data(""ejRadioButton"");
                var pivotdataSource = {
                    data: pivot_dataset, cube: """",
                    rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }],
                    columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }],
                    values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }],
                    filters: []
                };
                var olapDataSource = {
                    data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"",
                    rows: [{ fieldName: ""[Date].[Fiscal]"" }],
                    columns: [{ fieldName: ""[Customer].[Customer Geography]"" }],
                    values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }],
                    filters: []
                };
  ");
                WriteLiteral(@"              $("".e-pivotgrid"").remove();
                $("".e-pivotschemadesigner"").remove();
                var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML;
                var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML;
                $(gridPanel).appendTo("".control"");
                $(gridSchemaPanel).appendTo("".control"");
                $(""#PivotGrid1"").ejPivotGrid({
                    dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true,
                    enableGroupingBar: true,
                });
                if (olapRadioBtn.model.checked)
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } });
                else
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner();
            }
</script>
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7389, 971, true);
                WriteLiteral(@"
    <style>
            .e-pivotgrid {
                width: 55%;
                height: 630px;
                display: inline-block;
                float: left;
                overflow: auto;
            }

            .e-pivotschemadesigner {
                width: 40% !important;
                display: inline-block;
                margin-left: 10px;
            }

            .cols-prop-area {
                margin-top: 30px;
                width: 35%;
                height: 120px;
                min-height: 50px;
                float: left;
            }

            .radioBtnLabel {
                margin-left: 5px;
            }


        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }

    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(8390, 264, true);
                WriteLiteral(@"
<div id=""sampleProperties"">
    <div class=""prop-grid"">
        <div class=""row"">
            <div class=""col-md-3"" style=""width:120px"">
                Data Source
            </div>
            <div class=""col-md-3"" style=""width:120px"">
                ");
                EndContext();
                BeginContext(8654, 173, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "03795e7e844e44559ae546349bdc9360", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8827, 94, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"col-md-3\" style=\"width:120px\">\r\n                ");
                EndContext();
                BeginContext(8921, 156, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8fe61225e90645bca41dd4eff31ec036", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(9077, 58, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");
                EndContext();
            }
                          );
        }