We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Fields caption

Thread ID:





146675 Aug 13,2019 06:04 PM UTC Aug 14,2019 11:14 AM UTC JavaScript - EJ 2 1
Tags: PivotView
Alex Siler
Asked On August 13, 2019 06:04 PM UTC

Hello, I am working with the pivot table and I would like to set the title fields before knowing which fields will be used in the pivot table. In web examples, the title is already defined in dataSourceSettings. But in my case the data source will change and I don't know which fields were chosen.

Scintilla Arul Jothi Raj [Syncfusion]
Replied On August 14, 2019 11:14 AM UTC

Hi Alex, 

Thanks for contacting Syncfusion support. Please find the response below. 

You can change the caption name in the “enginePopulated” event. Please find the following code snippet. 

Code snippet: [JavaScript] 
enginePopulated: function(args) { 
   var captions = ['A', 'B', 'C', 'D', 'E', 'F', 'G'] 
   var i=0; 
   var obj = this.engineModule.fieldList; 
   for (var key in obj) { 
     if (obj.hasOwnProperty(key)) { 
       this.engineModule.fieldList[key].caption = captions[i]; 

Please let us know if you have any concerns. 
Scintilla A 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon