Articles in this section
Category / Section

How to remove the Cube Selector in the PivotClient?

1 min read

This KB illustrates that how to remove cube selector from PivotClient.

Solution:

You can use the following code examples to remove the Cube Selector in the PivotClient with respective to JS, ASP and MVC platforms.

JavaScript

$(function () {
$("#PivotClient").ejPivotClient({ url: "../wcf/OlapClientService.svc", title: "OLAP Browser", chartLoad: "CubeSelector" });
});
<script type="text/javascript">
function CubeSelector(args) {
$(".csHeader").remove();
}
<script/>

 

ASP

<ej:PivotClient ID="PivotClient1" runat="server" Url="../wcf/OlapClientService.svc">
        <ClientSideEvents  ChartLoad="CubeSelector" />
</ej:PivotClient>
<script type="text/javascript">
function CubeSelector(args) {
$(".csHeader").remove();
}
<script/>

 

MVC

@Html.EJ().Olap().OlapClient("PivotClient1").Url(Url.Content("~/wcf/OlapClientService.svc")).Title("OLAP Browser").ClientSideEvents(oEve => { oEve.ChartLoad("CubeSelector"); }) 
<script type="text/javascript">
function CubeSelector(args) {
$(".csHeader").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