Interface IGridSelectionController
Defines methods that must be implemented when handling selection in a SfDataGrid control.
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public interface IGridSelectionController : INotifyPropertyChanged, IDisposable
Methods
HandleCollectionChanged(NotifyCollectionChangedEventArgs, CollectionChangedReason)
Handles the collection changes such as selected items and source collection changed to process selection.
Declaration
void HandleCollectionChanged(NotifyCollectionChangedEventArgs e, CollectionChangedReason reason)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Specialized.NotifyCollectionChangedEventArgs | e | The System.Collections.Specialized.NotifyCollectionChangedEventArgs |
Syncfusion.SfDataGrid.CollectionChangedReason | reason | The reason for the collection change. |
HandlePointerOperation(GridPointerEventArgs, RowColumnIndex)
Handles the pointer operation (touch-down or touch-up or double tap or moved) to handle selection.
Declaration
void HandlePointerOperation(GridPointerEventArgs args, RowColumnIndex rowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
GridPointerEventArgs | args | The GridPointerEventArgs. |
RowColumnIndex | rowColumnIndex | The row column index in which the pointer operation is performed. |