Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wpf/OLAP-Grid/Cell-Selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Cell Selection in WPF OLAP Grid

The OLAP grid supports Excel-like cell selection, where you can select grid value cells as in the Microsoft Excel. This can be achieved by setting the `AllowSelection` property of the OLAP grid to true.
The OLAP Grid supports Excel-like cell selection, where you can select grid value cells as in the Microsoft Excel. This can be achieved by setting the `AllowSelection` property of the control to true.

On cell selection, an event named **"SelectionChanged"** will be triggered, and the **"OlapGridSelectionChangedEventArgs"** returns an IEnumerable collection of column, row, and value of the corresponding selected cell. The event argument also returns the cell range and selection reason such as mouse down, mouse move, and mouse up.

Expand Down Expand Up @@ -82,7 +82,7 @@ End Sub

{% endtabs %}

![Cell selection in OlapGrid](Cell-Selection_images/Cell-Selection_img1.png)
![Cell selection](Cell-Selection_images/Cell-Selection_img1.png)

A sample demo is available in the following location.

Expand Down
2 changes: 1 addition & 1 deletion wpf/OLAP-Grid/Conditional-Formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Me.olapgrid1.DataBind()

{% endtabs %}

![Conditional formats applied in OlapGrid](Conditional-Formatting_images/Conditional-Formatting_img1.png)
![Conditional formats applied](Conditional-Formatting_images/Conditional-Formatting_img1.png)

A sample demo is available in the following location.

Expand Down
10 changes: 5 additions & 5 deletions wpf/OLAP-Grid/Data-Source.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation: ug

# Data Source in WPF OLAP Grid

## Binding OLAP grid to offline cube
## Binding OLAP Grid to offline cube

To connect to an OLAP cube available in the local machine, set the physical path of the cube set in the connection string. The following code sample illustrates the same.

Expand All @@ -20,7 +20,7 @@ OlapDataManager DataManager = new OlapDataManager(connectionString);

{% endhighlight %}

## Binding OLAP grid to cube in local SQL Server
## Binding OLAP Grid to cube in local SQL Server

To connect to the OLAP cube available in SQL Server Analysis Service in the local machine, set the server name and database name in the connection string. If you have any credentials to connect your cube, then set the user ID and password attributes accordingly. The following code sample illustrates the same.

Expand All @@ -31,7 +31,7 @@ OlapDataManager DataManager = new OlapDataManager(connectionString);

{% endhighlight %}

## Binding OLAP grid to cube in online SQL Server
## Binding OLAP Grid to cube in online SQL Server

To connect to the OLAP cube available in SQL Server Analysis Service in online server through **XML/A**, set the host server link and database name in the connection string. If you have any credentials to connect your cube, then set the user ID and password attributes accordingly. The following code sample illustrates the same.

Expand All @@ -42,7 +42,7 @@ OlapDataManager DataManager = new OlapDataManager(connectionString);

{% endhighlight %}

## Binding OLAP grid to cube in online Mondrian Server
## Binding OLAP Grid to cube in online Mondrian Server

To connect to the OLAP cube available in Mondrian Server through **XML/A**, set the host server link and database name in the connection string. If you have any credentials to connect your cube, then set the user ID and password attributes accordingly. The following code sample illustrates the same.

Expand All @@ -54,7 +54,7 @@ DataManager.DataProvider.ProviderName = Syncfusion.Olap.DataProvider.Providers.M

{% endhighlight %}

## Binding OLAP grid to cube in online ActivePivot Server
## Binding OLAP Grid to cube in online ActivePivot Server

To connect to the OLAP cube available in ActivePivot Server through **XML/A**, set the host server link and database name in the connection string. If you have any credentials to connect your cube, then set the user ID and password attributes accordingly. The following code sample illustrates the same.

Expand Down
2 changes: 1 addition & 1 deletion wpf/OLAP-Grid/Drill-Position.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ control: OLAP Grid
documentation: ug
---

# Drill Position in WPF OLAP Grid
# Drill Position in WPF OLAP Grid

Drill position allows users to drill only the current position of the selected member and exclude the drilled data of selected member in other positions by using the MDX query. This can be enabled by setting the **"DrillType"** enumeration to **"DrillPosition"** in the OLAP report.

Expand Down
4 changes: 2 additions & 2 deletions wpf/OLAP-Grid/Drill-UpDown.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ control: OLAP Grid
documentation: ug
---

# Drill Down/Up in WPF OLAP Grid
# Drill Down/Up in WPF OLAP Grid

This is the basic feature of OLAP grid through which the amount of information can be limited. It allows you to drill down to access the detailed level of data, or drill up to see the summarized data using the expanders present in the grid. The expander here refers to the plus or minus or arrow sign present in the grid prior to a member. The expanders can be made hidden by setting the `ShowExpander` property of the OLAP report to **"false"**.
Drill down/up is the basic feature of OLAP Grid through which the amount of information can be limited. It allows you to drill down to access the detailed level of data, or drill up to see the summarized data using the expanders present in the grid. The expander here refers to the plus or minus or arrow sign present in the grid prior to a member. The expanders can be made hidden by setting the `ShowExpander` property of the OLAP report to **"false"**.

{% tabs %}

Expand Down
12 changes: 6 additions & 6 deletions wpf/OLAP-Grid/Exporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ documentation: ug

# Exporting in WPF OLAP Grid

The OLAP grid can be exported to Microsoft Excel, Microsoft Word, PDF, and CSV file formats. To perform exporting operation, add the following assembly along with default assemblies in the reference folder.
The OLAP Grid can be exported to Microsoft Excel, Microsoft Word, PDF, and CSV file formats. To perform exporting operation, add the following assembly along with default assemblies in the reference folder.

* Syncfusion.OlapGridConverter.Wpf

The OLAP grid can be exported using the following methods.
The control can be exported using the following methods.

**Excel export**

Expand Down Expand Up @@ -57,7 +57,7 @@ End If

{% endtabs %}

![WPF OLAPGrid report export to Excel](Exporting_images/Export_img1.png)
![Report exported to Excel](Exporting_images/Export_img1.png)

**Word export**

Expand Down Expand Up @@ -101,7 +101,7 @@ End If

{% endtabs %}

![WPF OLAPGrid report export to Word](Exporting_images/Export_img2.png)
![Report exported to Word](Exporting_images/Export_img2.png)

**PDF export**

Expand Down Expand Up @@ -146,7 +146,7 @@ End If

{% endtabs %}

![WPF OLAPGrid report export to PDF](Exporting_images/Export_img3.png)
![Report exported to PDF](Exporting_images/Export_img3.png)

**CSV export**

Expand Down Expand Up @@ -190,7 +190,7 @@ End If

{% endtabs %}

![WPF OLAPGrid report export to CSV](Exporting_images/Export_img4.png)
![Report exported to CSV](Exporting_images/Export_img4.png)

A sample demo is available in the following location.

Expand Down
6 changes: 3 additions & 3 deletions wpf/OLAP-Grid/Freeze-Headers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: Freeze Headers in WPF OLAP Grid | Syncfusion®
title: Freeze Headers in WPF OLAP Grid | Syncfusion®
description: The freeze headers support in OLAP Grid allows freezing the column and row headers so they remain visible while scrolling the grid.
platform: wpf
control: OLAP Grid
Expand All @@ -9,7 +9,7 @@ documentation: ug

# Freeze Headers in WPF OLAP Grid

The OLAP grid provides built-in support to freeze the column and row headers. This can be achieved by setting the `FreezeHeaders` property of OLAP grid to **"true"**.
The OLAP Grid provides built-in support to freeze the column and row headers. This can be achieved by setting the `FreezeHeaders` property of the control to **"true"**.

{% tabs %}

Expand All @@ -36,7 +36,7 @@ Me.OlapGrid1.FreezeHeaders = True

{% endtabs %}

![Enables the freeze headers in OlapGrid](Freeze-Headers_images/Freeze-Headers_img1.png)
![Freeze headers enabled](Freeze-Headers_images/Freeze-Headers_img1.png)

A sample demo is available in the following location.

Expand Down
42 changes: 21 additions & 21 deletions wpf/OLAP-Grid/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ control: OLAP Grid
documentation: ug
---

# Getting Started with WPF OLAP Grid
# Getting Started with WPF OLAP Grid

>**Important**
Starting with v16.2.0.x, if you refer to Syncfusion<sup>®</sup> assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to this [License Guidelines](https://help.syncfusion.com/wpf/licensing/overview) to learn about registering Syncfusion<sup>®</sup> license key in your WPF application to use the components.

This section covers the information required to create a simple OLAP grid bound to the OLAP data source.
This section covers the information required to create a simple OLAP Grid bound to the OLAP data source.

## Through Visual Studio

Open Visual Studio IDE and go to File > New > Project > WPF Application (inside Visual C# Templates) to create a new WPF application.

After creating the WPF application, go to View menu and select Toolbox option. Now, the Toolbox will appear inside Visual Studio IDE. From the Visual Studio Toolbox, drag and drop the OLAP grid under the **Syncfusion<sup>®</sup> BI WPF** tag. It will automatically add the required assemblies into the application.
After creating the WPF application, go to View menu and select Toolbox option. Now, the Toolbox will appear inside Visual Studio IDE. From the Visual Studio Toolbox, drag and drop the OLAP Grid under the **Syncfusion<sup>®</sup> BI WPF** tag. It will automatically add the required assemblies into the application.

![WPF OLAPGrid Getting-Started Image0](Getting-Started_images/Getting-Started_img0.png)
![Getting-Started Image0](Getting-Started_images/Getting-Started_img0.png)

Add a **Name** to the OLAP grid component for accessing it through code-behind as shown in the following code sample.
Add a **Name** to the OLAP Grid component for accessing it through code-behind as shown in the following code sample.

{% highlight xaml %}

Expand Down Expand Up @@ -151,7 +151,7 @@ End Class

Run the application. The following output will be generated.

![WPF OLAPGrid Getting-Started Image1](Getting-Started_images/Getting-Started_img1.png)
![Getting started output](Getting-Started_images/Getting-Started_img1.png)

## Through Expression Blend

Expand All @@ -167,11 +167,11 @@ Select the **Project** tab available in the left corner of the Blend IDE. Right-

N> You can also get the assemblies by browsing to the default assembly location: {System Drive}:\Program Files (x86)\Syncfusion\Essential Studio\&lt;version number&gt;\precompiledassemblies\&lt;version number&gt;\&lt;framework version&gt;\

On adding the above assemblies, the OLAP grid control will be added under the **Assets** tab automatically. Now, choose the **Assets** tab and drag the OLAP grid to the designer.
On adding the above assemblies, the control will be added under the **Assets** tab automatically. Now, choose the **Assets** tab and drag the OLAP Grid to the designer.

![WPF OLAPGrid Getting-Started Image2](Getting-Started_images/Getting-Started_img2.png)
![Adding the control under the Assets tab](Getting-Started_images/Getting-Started_img2.png)

Add a **Name** to the OLAP grid component for accessing it through code-behind as shown in the following code sample.
Add a **Name** to the OLAP Grid component for accessing it through code-behind as shown in the following code sample.

{% highlight xaml %}

Expand Down Expand Up @@ -304,7 +304,7 @@ End Class

Run the application. The following output will be generated.

![WPF OLAPGrid Getting-Started Image1](Getting-Started_images/Getting-Started_img1.png)
![Getting-Started Image1](Getting-Started_images/Getting-Started_img1.png)

## Through code-behind

Expand All @@ -321,7 +321,7 @@ To add the dependency assemblies within the application, right-click the **Refer

N> You can also get the assemblies by browsing to the default assembly location: {System Drive}:\Program Files (x86)\Syncfusion\Essential Studio\&lt;version number&gt;\precompiledassemblies\&lt;version number&gt;\&lt;framework version&gt;\

Include the following namespace in code-behind for OlapGrid, OlapDataManager, and OlapReport.
Include the following namespaces in code-behind for the OLAP Grid, OlapDataManager, and OlapReport.

* Syncfusion.Windows.Grid.Olap
* Syncfusion.Olap.Manager
Expand Down Expand Up @@ -445,35 +445,35 @@ End Class

Run the application. The following output will be generated.

![WPF OLAPGrid Getting-Started Image1](Getting-Started_images/Getting-Started_img1.png)
![Getting-Started Image1](Getting-Started_images/Getting-Started_img1.png)

## Design-time binding

Design-time binding support for OLAP grid allows you to reduce the time spent on creating and customizing the report. Normally, it takes 5 to 10 minutes for creating a report and in the case of unfamiliar cubes it may extend further, but by using design-time support you can create a report in a couple of minutes. The following section explain how to create a report during design-time.
Design-time binding support for OLAP Grid allows you to reduce the time spent on creating and customizing the report. Normally, it takes 5 to 10 minutes for creating a report and in the case of unfamiliar cubes it may extend further, but by using design-time support you can create a report in a couple of minutes. The following section explains how to create a report during design-time.

First drag the OLAP grid control from the toolbox to the Visual Studio designer surface.
First drag the OLAP Grid from the toolbox to the Visual Studio designer surface.

![WPF OLAPGrid Getting-Started Image3](Getting-Started_images/Getting-Started_img3.png)
![Getting-Started Image3](Getting-Started_images/Getting-Started_img3.png)

Right-click the OLAP grid available in the designer and go to **Configure data source > Create/Edit data source…** option in the context menu. Now, the **Data Source Properties** wizard opens.
Right-click the control available in the designer and go to **Configure data source > Create/Edit data source…** option in the context menu. Now, the **Data Source Properties** wizard opens.

![WPF OLAPGrid Getting-Started Image4](Getting-Started_images/Getting-Started_img4.png)
![Getting-Started Image4](Getting-Started_images/Getting-Started_img4.png)

From the **Data Source Properties** wizard, select the connection type. If you want to connect to SSAS, select **Use server name and database to connect to a server** and specify the necessary information to connect to the server. If you want to connect to an offline cube, select **Use a connection string to connect to a server** and enter your connection string path.

![WPF OLAPGrid Getting-Started Image5](Getting-Started_images/Getting-Started_img5.png)
![Getting-Started Image5](Getting-Started_images/Getting-Started_img5.png)

If you want to test the connection, click the **Test Connection** button that is displayed on the bottom-left corner of the window. Click the **Next** button, to proceed.

N> The next button is enabled only when any one of the connection options is filled properly.

When the connection is valid, it displays the summary page of the **Data Source Properties** wizard. When you create a query for the first time, the MDX query textbox in the summary page is empty. When you edit an existing query, it displays the current query in the text box.

![WPF OLAPGrid Getting-Started Image6](Getting-Started_images/Getting-Started_img6.png)
![Getting-Started Image6](Getting-Started_images/Getting-Started_img6.png)

For creating or editing a query, click the **Create/Edit** link that is displayed on the top-right side of the MDX query textbox. This opens a **Query Designer** dialog.

![WPF OLAPGrid Getting-Started Image7](Getting-Started_images/Getting-Started_img7.png)
![Getting-Started Image7](Getting-Started_images/Getting-Started_img7.png)

When you edit an existing query, it displays the required dimensions in the specific axis of the query designer and the preview of that query is displayed in a grid control.

Expand All @@ -483,7 +483,7 @@ Drag and drop dimensions to frame a new query. Then, click OK, to save the query

The summary page of the **Data Source Properties** wizard displays the resultant MDX query.

![WPF OLAPGrid Getting-Started Image8](Getting-Started_images/Getting-Started_img8.png)
![Getting-Started Image8](Getting-Started_images/Getting-Started_img8.png)

Click **Finish** and run the application.

Expand Down
18 changes: 9 additions & 9 deletions wpf/OLAP-Grid/Grid-Layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ documentation: ug

# Grid Layouts in WPF OLAP Grid

The position of summary cells in the OLAP grid can be customized with the help of grid layouts. It can be positioned at the top or bottom of each parent member.
The position of summary cells in the OLAP Grid can be customized with the help of grid layouts. It can be positioned at the top or bottom of each parent member.

The following are the five different types of layouts supported by the OLAP grid:
The following are the five different types of layouts supported by the control:

* Normal layout.
* Excel-like layout.
Expand All @@ -21,7 +21,7 @@ The following are the five different types of layouts supported by the OLAP grid

**Normal layout**

Normal layout is the default layout of OLAP grid. In normal layout, the summary cells are positioned at the bottom of each parent member and the child members are positioned adjacent to it.
Normal layout is the default layout of the control. In normal layout, the summary cells are positioned at the bottom of each parent member and the child members are positioned adjacent to it.

{% tabs %}

Expand All @@ -41,7 +41,7 @@ Me.OlapGrid1.Layout = GridLayout.Normal

{% endtabs %}

![OlapGrid in normal layout](Grid-Layouts_images/Grid-Layouts_img1.png)
![Normal layout](Grid-Layouts_images/Grid-Layouts_img1.png)

**Excel-like layout**

Expand All @@ -65,13 +65,13 @@ Me.OlapGrid1.Layout = GridLayout.ExceLikeLayout

{% endtabs %}

![OlapGrid in ExceLikeLayout](Grid-Layouts_images/Grid-Layouts_img2.png)
![Excel-like layout](Grid-Layouts_images/Grid-Layouts_img2.png)

**Excel-like layout with member properties**

This layout is used to display member properties along with dimension members. These properties appear adjacent to each member.

N> This layout is applicable only for members having properties defined in the OLAP cube and those members are bound to the OLAP grid through the OLAP report.
N> This layout is applicable only for members having properties defined in the OLAP cube and those members are bound to the control through the OLAP report.

{% tabs %}

Expand All @@ -91,7 +91,7 @@ Me.OlapGrid1.Layout = GridLayout.ExcelLikeLayoutWithMemberProperties

{% endtabs %}

![OlapGrid in ExceLikeLayout with member properties](Grid-Layouts_images/Grid-Layouts_img3.png)
![Excel-like layout with member properties](Grid-Layouts_images/Grid-Layouts_img3.png)

**Normal top summary layout**

Expand All @@ -115,7 +115,7 @@ Me.OlapGrid1.Layout = GridLayout.NormalTopSummary

{% endtabs %}

![OlapGrid in NormalTopSummary layout](Grid-Layouts_images/Grid-Layouts_img4.png)
![Normal top summary layout](Grid-Layouts_images/Grid-Layouts_img4.png)

**No summaries layout**

Expand All @@ -139,7 +139,7 @@ Me.OlapGrid1.Layout = GridLayout.NoSummaries

{% endtabs %}

![OlapGrid in NoSummaries layout](Grid-Layouts_images/Grid-Layouts_img5.png)
![No summaries layout](Grid-Layouts_images/Grid-Layouts_img5.png)

A sample demo is available in the following location.

Expand Down
Loading