I have a Blazor page with a SfQueryBuilder, where I can edit a query and save it to a database.
<SfQueryBuilder TValue="EventModel" @ref="QueryBuilder">
var sql = QueryBuilder?.GetSqlFromRules(QueryBuilder.GetRules());
On another page, I have a Grid which is bound to a OData API.
<SfGrid @ref="Grid" TValue="@EventModel" AllowPaging="true" Query="@qryEvents">
<SfDataManager Url="https://localhost:7000/v1/Events" Adaptor="Adaptors.ODataV4Adaptor"></SfDataManager>
I want to apply the saved query to that grid. How is this possible?
Thanks,
Sebastian