[]
Gets the interactivity settings for filtering.
public Interactivity Interactivity { get; }
| Type | Description |
|---|---|
| Interactivity | An Interactivity instance providing access to filter scopes and filters,
or |
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.
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();