Articles in this section
Category / Section

How to change the Layout of the OlapGrid

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied