Class IgbLocalDataSource
A local data source which has synchronous access to its data items.
Inheritance
System.Object
IgbLocalDataSource
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbLocalDataSource : IgbBaseDataSource, JsonSerializable
Constructors
IgbLocalDataSource()
Declaration
public IgbLocalDataSource()
Properties
DataSource
Gets or sets the backing data for the data source.
Declaration
public object DataSource { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
DataSourceScript
Provides a means of setting DataSource in the JavaScript environment.
Declaration
public string DataSourceScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Type
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
Methods
ClearPinnedRows()
Declaration
public override void ClearPinnedRows()
Overrides
ClearPinnedRowsAsync()
Declaration
public override Task ClearPinnedRowsAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Clone()
Declaration
public override DataSource Clone()
Returns
Overrides
CloneAsync()
Clones this data source instance, copying the summary, grouping, filter and sorting settings into
the new instance.
Declaration
public override Task<DataSource> CloneAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<DataSource> |
|
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
GetIsRowExpandedAtIndex(Int32)
Declaration
public override bool GetIsRowExpandedAtIndex(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
GetIsRowExpandedAtIndexAsync(Int32)
Declaration
public override Task<bool> GetIsRowExpandedAtIndexAsync(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
Overrides
GetItemAtIndex(Int32)
Declaration
public override object GetItemAtIndex(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
GetItemAtIndexAsync(Int32)
Returns the item at the specific index in the data source. This index is based on the data source's current view of the data, not the actual underlying indexes of the original source.
Declaration
public override Task<object> GetItemAtIndexAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
The index of the requested item.
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Object> |
|
Overrides
GetItemFromKey(Object[])
Declaration
public override object GetItemFromKey(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
GetItemFromKeyAsync(Object[])
Declaration
public override Task<object> GetItemFromKeyAsync(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Object> |
|
Overrides
GetItemPropertyAtIndex(Int32, String)
Declaration
public override object GetItemPropertyAtIndex(int index, string valueName)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
valueName |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
GetItemPropertyAtIndexAsync(Int32, String)
Declaration
public override Task<object> GetItemPropertyAtIndexAsync(int index, string valueName)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
valueName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Object> |
|
Overrides
GetRootSummaryResults()
Declaration
public override IgbDataGridSummaryResult[] GetRootSummaryResults()
Returns
Overrides
GetRootSummaryResultsAsync()
Gets the summary results for the root level.
Declaration
public override Task<IgbDataGridSummaryResult[]> GetRootSummaryResultsAsync()
Returns
Overrides
GetRootSummaryRowCount()
Declaration
public override int GetRootSummaryRowCount()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
GetRootSummaryRowCountAsync()
Gets the number of summary rows at the root level.
Declaration
public override Task<int> GetRootSummaryRowCountAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Overrides
GetRowLevel(Int32)
Declaration
public override int GetRowLevel(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
GetRowLevelAsync(Int32)
Declaration
public override Task<int> GetRowLevelAsync(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Overrides
GetRowType(Int32)
Declaration
public override DataSourceRowType GetRowType(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
Overrides
GetRowTypeAsync(Int32)
Declaration
public override Task<DataSourceRowType> GetRowTypeAsync(int rowIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
Returns
Overrides
GetSectionSummaryResults(Int32)
Declaration
public override IgbDataGridSummaryResult[][] GetSectionSummaryResults(int sectionIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
sectionIndex |
|
Returns
Overrides
GetSectionSummaryResultsAsync(Int32)
Gets the summary results for a specific section.
Declaration
public override Task<IgbDataGridSummaryResult[][]> GetSectionSummaryResultsAsync(int sectionIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
sectionIndex |
|
Returns
Overrides
GetStickyRowPriority(Int32)
Declaration
public override int GetStickyRowPriority(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
GetStickyRowPriorityAsync(Int32)
Declaration
public override Task<int> GetStickyRowPriorityAsync(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Overrides
IndexOfItem(Object)
Declaration
public override int IndexOfItem(object item)
Parameters
| Type |
Name |
Description |
| System.Object |
item |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
IndexOfItemAsync(Object)
Called to return the index for an item contained in the data source, or -1, if the item can't be found, or this action isn't currently supported.
Declaration
public override Task<int> IndexOfItemAsync(object item)
Parameters
| Type |
Name |
Description |
| System.Object |
item |
The item for which to find the index.
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Overrides
IndexOfKey(Object[])
Declaration
public override int IndexOfKey(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
IndexOfKeyAsync(Object[])
Declaration
public override Task<int> IndexOfKeyAsync(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Overrides
IsExclusivelySticky(Int32)
Declaration
public override bool IsExclusivelySticky(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
IsExclusivelyStickyAsync(Int32)
Declaration
public override Task<bool> IsExclusivelyStickyAsync(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
Overrides
IsRowPinned(Int32)
Declaration
public override bool IsRowPinned(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
IsRowPinnedAsync(Int32)
Declaration
public override Task<bool> IsRowPinnedAsync(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
Overrides
PinRow(Object[])
Declaration
public override void PinRow(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Overrides
PinRowAsync(Object[])
Declaration
public override Task PinRowAsync(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
SetIsRowExpandedAtIndex(Int32, Boolean)
Declaration
public override void SetIsRowExpandedAtIndex(int rowIndex, bool isExpanded)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
| System.Boolean |
isExpanded |
|
Overrides
SetIsRowExpandedAtIndexAsync(Int32, Boolean)
Declaration
public override Task SetIsRowExpandedAtIndexAsync(int rowIndex, bool isExpanded)
Parameters
| Type |
Name |
Description |
| System.Int32 |
rowIndex |
|
| System.Boolean |
isExpanded |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
UnpinRow(Object[])
Declaration
public override void UnpinRow(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Overrides
UnpinRowAsync(Object[])
Declaration
public override Task UnpinRowAsync(object[] key)
Parameters
| Type |
Name |
Description |
| System.Object[] |
key |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Overrides
Implements