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
10 changes: 5 additions & 5 deletions uwp/DataGrid/Selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ If the [DataGrid.AllowEditing](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.
<kbd>Esc</kbd>
</td>
<td>
If the current cell is in edit mode, reverts the changes that had been done in the current cell. If the underlying source implements the {{'[IEditableObject](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.ieditableobject?redirectedfrom=MSDN&view=net-6.0)'| markdownify }}, on pressing of Esc key for the second time will cancel the edit mode for entire row.
If the current cell is in edit mode, reverts the changes that had been done in the current cell. If the underlying source implements the {{'[IEditableObject](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.ieditableobject?redirectedfrom=MSDN&view=net-6.0)'| markdownify }}, on pressing of Esc key for the second time will cancel the edit mode for entire row.
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1048,7 +1048,7 @@ void dataGrid_CurrentCellActivating(object sender, CurrentCellActivatingEventArg
{% endhighlight %}
{% endtabs %}

You can cancel the current cell moving process within this event by setting [GridCurrentCellActivatingEventArgs.Cancel](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.canceleventargs.cancel?redirectedfrom=MSDN&view=net-6.0#System_ComponentModel_CancelEventArgs_Cancel) as true.
You can cancel the current cell moving process within this event by setting [GridCurrentCellActivatingEventArgs.Cancel](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.canceleventargs.cancel?redirectedfrom=MSDN&view=net-6.0#System_ComponentModel_CancelEventArgs_Cancel) as true.

{% tabs %}
{% highlight c# %}
Expand Down Expand Up @@ -1129,7 +1129,7 @@ void dataGrid_SelectionChanging(object sender, GridSelectionChangingEventArgs e)
{% endhighlight %}
{% endtabs %}

You can cancel the selection process within this event by setting [GridSelectionChangingEventArgs.Cancel](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.canceleventargs.cancel?redirectedfrom=MSDN&view=net-6.0#System_ComponentModel_CancelEventArgs_Cancel) property as true.
You can cancel the selection process within this event by setting [GridSelectionChangingEventArgs.Cancel](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.canceleventargs.cancel?redirectedfrom=MSDN&view=net-6.0#System_ComponentModel_CancelEventArgs_Cancel) property as true.

{% tabs %}
{% highlight c# %}
Expand Down Expand Up @@ -1397,7 +1397,7 @@ public class GridSelectionControllerExt:GridSelectionController

By default, while pressing <kbd>Enter</kbd> key the current cell will be moved to next focused cell in the same column. You can change the behavior by overriding the corresponding selection controllers based on `SelectionUnit`.

You can change the <kbd>Enter</kbd> key behavior by overriding [ProcessKeyDown](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.Grid.GridSelectionController.html#Syncfusion_UI_Xaml_Grid_GridSelectionController_ProcessKeyDown_Windows_UI_Xaml_Input_KeyRoutedEventArgs_) method in selection controller. In this method you have to create new [KeyEventArgs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.input.keyeventargs?redirectedfrom=MSDN&view=windowsdesktop-6.0) which refers the <kbd>Tab</kbd> key and processes the <kbd>Tab</kbd> key action.
You can change the <kbd>Enter</kbd> key behavior by overriding [ProcessKeyDown](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.Grid.GridSelectionController.html#Syncfusion_UI_Xaml_Grid_GridSelectionController_ProcessKeyDown_Windows_UI_Xaml_Input_KeyRoutedEventArgs_) method in selection controller. In this method you have to create new [KeyEventArgs](https://learn.microsoft.com/en-us/dotnet/api/system.windows.input.keyeventargs?redirectedfrom=MSDN&view=windowsdesktop-6.0) which refers the <kbd>Tab</kbd> key and processes the <kbd>Tab</kbd> key action.

{% tabs %}
{% highlight c# %}
Expand Down Expand Up @@ -1511,7 +1511,7 @@ public class GridSelectionControllerExt:GridSelectionController

### Selecting the column when clicking header

You can select entire column on clicking column header by handling [MouseLeftButtonUp](https://docs.microsoft.com/en-us/dotnet/api/system.windows.uielement.mouseleftbuttonup?redirectedfrom=MSDN&view=windowsdesktop-6.0) event of SfDataGrid. You have to set `SelectionUnit` as `Cell` or `Any` and `SelectionMode` as `Extended` or `Multiple` to achieve this behavior.
You can select entire column on clicking column header by handling [MouseLeftButtonUp](https://learn.microsoft.com/en-us/dotnet/api/system.windows.uielement.mouseleftbuttonup?redirectedfrom=MSDN&view=windowsdesktop-6.0) event of SfDataGrid. You have to set `SelectionUnit` as `Cell` or `Any` and `SelectionMode` as `Extended` or `Multiple` to achieve this behavior.

By default the sorting operation will be performed while clicking on column header where you can disable this action by setting `AllowSorting` as false or [SortClickAction](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.Grid.SfGridBase.html#Syncfusion_UI_Xaml_Grid_SfGridBase_SortClickAction) as `DoubleClick`.

Expand Down
2 changes: 1 addition & 1 deletion uwp/Pivot-Grid/OLAP/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation: ug
# Getting Started with UWP Pivot Grid (SfPivotGrid)

>**Important**
Starting with v16.2.0.x, if you refer to Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/license-key) to learn about registering Syncfusion license key in your UWP application to use the components.
Starting with v16.2.0.x, if you refer to Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to this [link](https://help.syncfusion.com/common/essential-studio/licensing/overview) to learn about registering Syncfusion license key in your UWP application to use the components.

This section explains about the information required to create a simple SfPivotGrid control bound to the OLAP data source and create a WCF service that helps to bind the OLAP data with the SfPivotGrid control through the OlapDataManager.

Expand Down