Interface IItemsSourceSelector
Provides support to get IEnumerable ItemsSource of the record from the DataContext.
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.dll
Syntax
public interface IItemsSourceSelector
Remarks
It can be used to get different Itemssource for each row in GridComboBoxColumn/GridPickerColumn.
Methods
GetItemsSource(Object, Object)
To get the itemsSource for a specific row data.
Declaration
IEnumerable GetItemsSource(object record, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | The record having current row data. |
System.Object | dataContext | The binding context. |
Returns
Type | Description |
---|---|
System.Collections.IEnumerable | To return a IEnumerable collection. |