Articles in this section
Category / Section

How to Set the DisplayMode for Silverlight OlapClient?

1 min read

In OlapClient, by default the Chart and Grid controls has been displayed using the tab control. We can able to set the display mode for OlapClient to show both chart and grid or only chart or only grid. This can be achieved using following code snippet.


// display mode to set both chart and grid visible in OlapClient
this.olapClient.DisplayMode = Syncfusion.Silverlight.Client.Olap.DisplayModes.Both;
// display mode to hide grid in OlapClient
this.olapClient.DisplayMode = Syncfusion.Silverlight.Client.Olap.DisplayModes.ChartOnly;
// display mode to hide chart in OlapClient
this.olapClient.DisplayMode = Syncfusion.Silverlight.Client.Olap.DisplayModes.GridOnly; 


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