DataSource

AddOnSchemaChangedListener Represents a data source for use in components which need advanced access to data.

public interface DataSource
DeferAutoRefresh: any
FilterExpressions: any
FirstVisibleIndexRequested: any
IncludeSummaryRowsInSection: any
IsSectionCollapsable: any
IsSectionContentVisible: any
IsSectionExpandedDefault: any
IsSectionHeaderNormalRow: any
IsSectionSummaryRowsAtBottom: any
LastVisibleIndexRequested: any
PrimaryKey: any
PropertiesRequested: any
SchemaIncludedProperties: any
SectionHeaderDisplayMode: any
ShouldEmitSectionFooters: any
ShouldEmitSectionHeaders: any
ShouldEmitShiftedRows: any
ShouldEmitSummaryRows: any
SummaryScope: any
UpdateNotifier: any
ClearPinnedRows(): any

Called to clear all pinned rows.

ClearPinnedRowsAsync(): any
Clone(): any

Clones this data source instance, copying the summary, grouping, filter and sorting settings into the new instance.

CloneAsync(): any
FlushAutoRefresh(): any

Called to make sure a queued refresh of the data source has been applied before continuing. Should only be needed if you are trying to synchronously examine the results of changing settings on the data source. Note, for a virtual data source, the data source itself may be waiting for other synchronous requests to actualize data. This call will not wait for those, but will only make sure the appropriate requests are in flight from the settings changes

FlushAutoRefreshAsync(): any
GetIsRowExpandedAtIndex(int): any

Gets the expansion state for a row.

GetIsRowExpandedAtIndexAsync(int): any
GetItemProperty(object, string): any

GetItemPropertyAsync(object, string)

Section titled "GetItemPropertyAsync(object, string)"
GetItemPropertyAsync(object, string): any

GetItemPropertyAtIndex(int, string)

Section titled "GetItemPropertyAtIndex(int, string)"
GetItemPropertyAtIndex(int, string): any

GetItemPropertyAtIndexAsync(int, string)

Section titled "GetItemPropertyAtIndexAsync(int, string)"
GetItemPropertyAtIndexAsync(int, string): any

GetMainValuePath(DataSourceRowType)

Section titled "GetMainValuePath(DataSourceRowType)"
GetMainValuePath(DataSourceRowType): any

GetMainValuePathAsync(DataSourceRowType)

Section titled "GetMainValuePathAsync(DataSourceRowType)"

Gets the type of row at the specified index.

GetMainValuePathAsync(DataSourceRowType): any
GetRootSummaryResults(): any

Gets the summary results for the root level.

GetRootSummaryResultsAsync(): any
GetRootSummaryRowCount(): any

Gets the number of summary rows at the root level.

GetRootSummaryRowCountAsync(): any
GetRowLevel(int): any

Gets the hierarchy level of the row.

GetRowLevelAsync(int): any
GetRowType(int): any

Gets the type of row at the specified index.

GetRowTypeAsync(int): any
GetSectionSummaryResults(int): any

Gets the summary results for a specific section.

GetSectionSummaryResultsAsync(int): any
GetStickyRowPriority(int): any

Gets the priority of a pinned row, which defines how it interacts with other pinned rows.

GetStickyRowPriorityAsync(int): any
IndexOfItem(object): any

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.

IndexOfItemAsync(object): any
IndexOfKey(object[]): any
IndexOfKeyAsync(object[]): any
IsExclusivelySticky(int): any

Gets whether the row is allowed to push other sticky rows with the same priority.

IsExclusivelyStickyAsync(int): any
IsPlaceholderItem(int): any

Returns true if the item at the requested index is a placeholder item and has not been actualized.

IsPlaceholderItemAsync(int): any
IsRowPinned(int): any

Returns whether the row is pinned.

IsRowPinnedAsync(int): any
IsRowSpanning(DataSourceRowType): any

IsRowSpanningAsync(DataSourceRowType)

Section titled "IsRowSpanningAsync(DataSourceRowType)"

Returns whether the requested row type is considered a spanning element for the data source. Spanning elements have a single complex value rather than the current schema of the data source.

IsRowSpanningAsync(DataSourceRowType): any
PinRow(object[]): any
PinRowAsync(object[]): any
QueueAutoRefresh(): any

Called to manually queue a refresh of the data source.

QueueAutoRefreshAsync(): any
Refresh(): any

Called to synchronously refresh the data source.

RefreshAsync(): any
ResolveSchemaPropertyType(string): any

ResolveSchemaPropertyTypeAsync(string)

Section titled "ResolveSchemaPropertyTypeAsync(string)"

Resolve a property or property path to its value type.

ResolveSchemaPropertyTypeAsync(string): any
SetIsRowExpandedAtIndex(int, bool): any

SetIsRowExpandedAtIndexAsync(int, bool)

Section titled "SetIsRowExpandedAtIndexAsync(int, bool)"
SetIsRowExpandedAtIndexAsync(int, bool): any
UnpinRow(object[]): any
UnpinRowAsync(object[]): any