Change Placeholder Text in Calculated Field Formula (Pivot Grid)

Hello!

I cannot find any field or event where I can change the placeholder text on a Pivot Grid Calculated Field Formula. 

This screenshot is from your website. The red box shows the textarea placeholder text that I can't change:


Please advise.

Thank you!

Mike 

3 Replies 1 reply marked as answer

SS Saranya Sivan Syncfusion Team April 23, 2021 09:38 AM UTC

Hi Michael Quiblat, 
  
Kindly follow the code example to set alternate place holder text in the calculated field dialog.  
  
Code Example: 
  
  L10n.load({ 
      "en-US": { 
        pivotview: { 
          dropText: 'Example: ("Sum(In_Stock)" + "Sum(Sold)") * 250' 
        } 
      } 
    }); 
  
Meanwhile, we have prepared a sample for your reference. Kindly check the below sample and documentation link. 
  
  
  
We hope the above sample meets your requirements. 
  
Regards, 
Saranya S. 
 


Marked as answer

MQ Michael Quiblat April 23, 2021 02:55 PM UTC

That worked! 

My field list was a separate object so i also had to include it to be more like this:

L10n.load({
      "en-US": {
        pivotview: {
          dropText: 'Example: ("Sum(Column 1)" + "Sum(Column 2)") * 250'
        },
        pivotfieldlist: {
          dropText: 'Example: ("Sum(Column 1)" + "Sum(Column 2)") * 250'
        }
      }
    });

For good measure, i also included this at the top;


setCulture('en-US');

Other than that, it's working great!

Thank you very much!




SS Saranya Sivan Syncfusion Team April 26, 2021 06:09 AM UTC

Hi Michael Quiblat, 
Thanks for the reply. 
Please let us know if you have any other queries. We are always happy to assist you.  
  
Regards, 
  
Saranya S. 
 


Loader.
Up arrow icon