How to disable the tooltip in the pivotclient grid.

Is possible to disable the tooltip?

2 Replies

SA Scintilla Arul Jothi Raj Syncfusion Team November 28, 2018 04:40 AM UTC

Hi Eduardo, 
  
Thanks for contacting Syncfusion support. 
  
You can enable/disable tooltip visibility of PivotGrid and PivotChart in the “render-success” event of PivotClient. Please refer the code snippet below. 
  
Code Snippet: [cshtml] 
<ej-pivot-client id="PivotClient1" render-success="successEvent"> 
// dataSource 
</ej-pivot-client> 
  
Code Snippet: [JavaScript] 
function successEvent(args) { 
   if (!ej.isNullOrUndefined(this._pivotGrid)) 
      this._pivotGrid.model.enableToolTip = false; // Disabling Tooltip for PivotGrid 
  
   if (!ej.isNullOrUndefined(this._pivotChart)) 
      this._pivotChart.model.commonSeriesOptions.tooltip.visible = false; // Disabling Tooltip for PivotChart 
  
} 
  
  
Please let us know if you have any concerns. 
  
Regards, 
Scintilla A. 



ED Eduardo November 28, 2018 04:01 PM UTC

Thanks, it works!

Loader.
Up arrow icon