New to Telerik UI for Blazor? Start a free 30-day trial

Event arguments raised by OnDataProcess for each generated ComponentConfig, giving the host a chance to process the raw dataset itself (e.g. via DataSourceRequest/ DataSourceResult from Telerik.DataSource) instead of relying on the renderer's built-in filter/sort/group/aggregate pipeline.

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public sealed class DatAInsightsComposerDataProcessEventArgs

Inheritance: objectDatAInsightsComposerDataProcessEventArgs

Constructors

C#
public DatAInsightsComposerDataProcessEventArgs()

Properties

The type of component (Grid/Chart/etc.) this data is being prepared for. Mirrors Config's ComponentType, so the host can switch on it directly instead of downcasting Config.

C#
public ComponentType ComponentType { get; }

The component configuration (Grid/Chart/etc.) this data is being prepared for.

C#
public ComponentConfig Config { get; set; }

The resolved dataset for this component: its raw, unprocessed rows (Data) and field metadata (Fields).

C#
public DatasetDescriptor Dataset { get; set; }

The DataSource (filters/sorts/groups/aggregates/paging) declared on Config, or null for component types that don't have one (e.g. gauges). This is the raw configuration the AI produced; DataSourceRequest is the same information already converted into a ready-to-use Telerik.DataSource.DataSourceRequest.

C#
public DataSourceConfig? DataSourceConfig { get; }

DataSourceConfig pre-converted into a Telerik.DataSource.DataSourceRequest (filters/sorts/groups/paging), so you can just call .ToDataSourceResult() on your data without any manual mapping. null when DataSourceConfig is null.

C#
public DataSourceRequest? DataSourceRequest { get; }

Set this to the processed data items to use instead of the renderer's built-in processing. Leave null (default) to fall back to the built-in filter/sort/group/aggregate pipeline driven by Config's DataSource settings. The renderer converts each item into an ExpandoObject internally (for the Grid) or into chart series data (for the Chart), so any object shape compatible with the configured field names can be returned.

C#
public List<object>? ProcessedData { get; set; }