Articles in this section
Category / Section

How to disable expand/collapse popup menu in the PivotChart?

1 min read

This KB illustrates that how to disable expand/collapse popup menu in the PivotChart.

Solution:

You can disable the popup menu by using pointRegionClick event and the following code examples illustrate the same.

JavaScript

$("#PivotChart1").ejPivotChart({ url: "../wcf/OlapChartService.svc", pointRegionClick: "disablePopUp" });
function disablePopUp(args) {
$(".expandMenu").remove();
}

 

ASP

<ej:PivotChart ID="PivotChart1" runat="server" Url="../wcf/OlapChartService.svc">
<ClientSideEvents  PointRegionClick="disablePopUp"/> </ej:OlapChart>
<script type="text/javascript">
function disablePopUp(args) {
$(".expandMenu").remove();
}
<script/>

 

MVC

@Html.EJ().Pivot().PivotChart("PivotChart1").Url(Url.Content("~/wcf/OlapChartService.svc")).ClientSideEvents(clientSideEvent => clientSideEvent.PointRegionClick("disablePopUp"))
<script type="text/javascript">
function disablePopUp(args) {
$(".expandMenu").remove();
}
<script/>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied