Look at this blazor server page:
@page "/"
<div>@count</div>
<MyGridComponent Count="@Count" />
@code
{
private int count { get; set; }
}
The grid component contains an IQueryable. User can apply custom filters inside this component.
I want to display the number of records, taking care of custom filters outside the grid component.
Is it possible to transfert count parameter value in this direction (from component to parent component) ?
I have tried to work with an event, but the code is heavy, i need to implement a method for that.
Thanks