[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.PageDocument.Interactivity

Interactivity Property

Interactivity

Gets the interactivity settings for filtering.

Declaration
public Interactivity Interactivity { get; }
Property Value
Type Description
Interactivity

An Interactivity instance providing access to filter scopes and filters, or null if the report has not been rendered yet.

Remarks

This property provides access to interactive filtering capabilities of the report. Use it to browse available filters and set filter values before re-rendering the report.

The interactivity data is populated after the first render. If the report has not been rendered yet, this property returns null.

Examples

This example demonstrates how to apply filter values.

// Get a filter and apply values
var filter = document.Interactivity.Children[0].Filters[0];
filter.Condition = FilterConditionType.In;
filter.Values = new object[] { "Electronics", "Books" };

// Re-render the report with applied filters
document.Render();