Search results

Show or hide tooltip

The tooltip can be enabled or disabled by setting the ShowTooltip property in EjsPivotView class to true. By default, tooltip is enabled in the pivot table.

    @using Syncfusion.EJ2.Blazor.PivotView

    <EjsPivotView TValue="ProductDetails" ShowTooltip="true">
        <PivotViewDataSourceSettings DataSource="@data">
                <PivotViewColumn Name="Year"></PivotViewColumn>
                <PivotViewColumn Name="Quarter"></PivotViewColumn>
                <PivotViewRow Name="Country"></PivotViewRow>
                <PivotViewRow Name="Products"></PivotViewRow>
                <PivotViewValue Name="Sold" Caption="Units Sold"></PivotViewValue>
                <PivotViewValue Name="Amount" Caption="Sold Amount"></PivotViewValue>

        public List<ProductDetails> data { get; set; }
        protected override void OnInitialized()
   = ProductDetails.GetProductData().ToList();
           //Bind the data source collection here. Refer "Assigning sample data to the pivot table" section in getting started for more details.