Articles in this section
Category / Section

How to make the Pivot Grid as default view control in the Pivot Client?

1 min read

This KB illustrates that how to make the Pivot Grid as default view control in the Pivot Client.

Solution:

You can display the PivotGrid as default view in the PivotClient with respective to the JS, ASP and MVC platforms by using the following code example.

JS

$("#PivotClient1").ejPivotClient({
url: "../wcf/OlapClientService.svc", title: "OLAP Browser",
displaySettings: { defaultView: "grid" }
});

MVC

@Html.EJ().Pivot().PivotClient("PivotClient1").Url("../wcf/OlapClientService.svc").Title("OLAP Browser").DisplaySettings(disp => { disp.DefaultView(PivotClientDefaultView.Grid); });

ASP

<ej:PivotClient ID="PivotClient1" runat="server" Url="../wcf/OlapClientService.svc">
<DisplaySettings DefaultView="Grid"/>
</ej:PivotClient>

 

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