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/>
|
This page will automatically be redirected to the sign-in page in 10 seconds.