Articles in this section

How to change the Layout of the OlapGrid

We can able to change the layout of the OlapGrid control. This can be achieved by using the GridLayout Property of OlapGrid. Please refer the below code snippet to know how to set this property.

C#

 

 
 
  public MainWindow()
        {
            try
            {
                ViewModel.ViewModel.ConnectionString = this.GetConnectionString();
                InitializeComponent();
                this.olapGrid1.Layout = Syncfusion.Olap.Engine.GridLayout.ExcelLikeLayout;
            }
            catch (Exception ex)
            {
                ShowExceptionMessage(ex);
            }
        }
 

 

 

 

Figure: OlapGrid with ExcelLikeLayout

 

 

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