Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote
bug2.PNG
 

script

function renameReport(args) {

        var pivotObj = document.getElementById('pivotview').ej2_instances[0];

        var reportCollection = [];

        var pivotviewReports = getReportSettings();

        if (pivotviewReports && pivotviewReports !== "") {

            reportCollection = JSON.parse(pivotviewReports);

        }

        if (args.isReportExists) {

            for (var i = 0; i < reportCollection.length; i++) {

                if (reportCollection[i].reportName === args.rename) {

                    reportCollection.splice(i, 1);

                }

            }

        }

        reportCollection.map(function (item) {

            if (args.reportName === item.reportName) {

                item.reportName = args.rename;

            }

        });



        if (pivotviewReports && pivotviewReports !== "") {

            //pivotviewReports = JSON.stringify(reportCollection);

            writeReportSettings(JSON.stringify(reportCollection));

        }


        //this.toolbarModule.updateReportList();

        console.log(this.toolbarModule.reportList.listData);

        //pivotObj.refresh();

        //loadReport({ reportName: args.reportName, name: 'loadReport' });

    }


bug.PNG