My wasm app is on .net (9.0.5) and when I update Syncfusion.Blazor nuget package from 29.1.41 to version 29.2.4
I have issue on datagrids, when user apply filter and then try to select row inisde grid app crash .
Error in consle looks like:
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Cannot wait on monitors on this runtime.
Here is one sample of my grid:
<SfGrid @ref="Grid" id="GridPPovratnica" EnableAutoFill="true" EnableVirtualization="false" AllowFiltering="true" AllowSorting="true" TValue="PrimkaListModel" AllowPaging="true" Height="100%" EnableAdaptiveUI="true" AdaptiveUIMode="AdaptiveMode.Desktop" AllowResizing="true">
<GridFilterSettings Type="Syncfusion.Blazor.Grids.FilterType.FilterBar" Mode="FilterBarMode.OnEnter" ImmediateModeDelay="100" ShowFilterBarStatus="false" ></GridFilterSettings>
<GridPageSettings PageSize="@pageSize" PageSizes="pageSizes"></GridPageSettings>
<GridEditSettings AllowEditing="true" AllowEditOnDblClick="false" AllowNextRowEdit="false" ShowConfirmDialog="false" Mode="EditMode.Batch"></GridEditSettings>
<GridSelectionSettings Type="Syncfusion.Blazor.Grids.SelectionType.Multiple" CheckboxOnly="false" PersistSelection="false" ></GridSelectionSettings>
<GridEvents CommandClicked="OnCommandClicked" OnActionFailure="@ActionFailure" OnRecordDoubleClick="RecordDoubleClickHandler" OnLoad="Load" TValue="PrimkaListModel"></GridEvents>
<SfDataManager Url="/api/primke/ListaPovratnica" Adaptor="Adaptors.UrlAdaptor"></SfDataManager>
<GridTemplates>
<ToolbarTemplate>
<SfToolbar>
<ToolbarEvents Clicked="ToolbarClickHandler"></ToolbarEvents>
<ToolbarItems>
<ToolbarItem Type="@ItemType.Button" PrefixIcon="e-align-middle icon" Id="sastavi" Text="Sastavite više povratnica u jednu"></ToolbarItem>
</ToolbarItems>
</SfToolbar>
</ToolbarTemplate>
</GridTemplates>
<GridColumns>
<GridColumn HeaderText="Detalji" AllowFiltering="false" TextAlign="TextAlign.Center" Width="90">
<GridCommandColumns >
<GridCommandColumn ButtonOption="@(new CommandButtonOptions() { CssClass="e-icon-calender e-icons" })" Title="Detalji"></GridCommandColumn>
</GridCommandColumns>
</GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Par) HeaderText="Partner" Width="450">
</GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Datum) Format="d" Type="ColumnType.DateOnly" TextAlign="TextAlign.Right" Width="236">
<HeaderTemplate>
<div style="text-align: center;">
<span class="e-icon-calender e-icons headericon"></span> Datum
</div>
</HeaderTemplate>
<FilterTemplate>
@{
<SfDateRangePicker Placeholder="Odaberite period" ShowTodayButton="true" MaxDays="358" Width="500" ShowClearButton="true"
@bind-StartDate="dataRange.StartDate" @bind-EndDate="dataRange.EndDate" TValue="DateTime">
<DateRangePickerEvents TValue="DateTime" ValueChange="DateValueChangeHandler">
</DateRangePickerEvents>
</SfDateRangePicker>
}
</FilterTemplate>
</GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Broj) HeaderText="Broj" TextAlign="TextAlign.Right" Width="150"></GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.StatusOpis) Type="Syncfusion.Blazor.Grids.ColumnType.String" HeaderText="Status" TextAlign="TextAlign.Center" Width="185">
<FilterTemplate >
<SfDropDownList TValue="string" Width="100%" Placeholder="Status" ShowClearButton="true" TItem="string" DataSource="@CustomerIDData">
<DropDownListEvents ValueChange="CustomerIDOnChange" TValue="string" TItem="string"></DropDownListEvents>
</SfDropDownList>
</FilterTemplate>
</GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.DocDobBroj) HeaderText="Broj doc dob" TextAlign="TextAlign.Right" Width="180"></GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Skl) HeaderText="Skladište" Width="240"></GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Napomena) HeaderText="Napomena" Width="170" AllowFiltering="true" ></GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Izradio) HeaderText="Izradio" AllowFiltering="false" Width="170"></GridColumn>
<GridColumn Field=@nameof(PrimkaListModel.Id) HeaderText="Id" Visible="false" IsPrimaryKey="true" ></GridColumn>
</GridColumns>
</SfGrid>
| vt | @ | ||
| (anonymous) | @ | ||
| Fc | @ | ||
| $func172 | @ | ||
| $func101 | @ | ||
| $func92 | @ | ||
| $func129 | @ | ||
| $func2689 | @ | ||
| $func2018 | @ | ||
| $func2023 | @ | ||
| $func2047 | @ | ||
| $mono_wasm_invoke_jsexport | @ | ||
| Module._mono_wasm_invoke_jsexport | @ | ||
| gn | @ | ||
| (anonymous) | @ | ||
| beginInvokeDotNetFromJS | @ | ||
| invokeDotNetMethodAsync | @ | ||
| invokeMethodAsync | @ | ||
| (anonymous) | @ | ||
| R | @ | ||
| (anonymous) | @ | ||
| invokeWhenHeapUnlocked | @ | ||
| (anonymous) | @ | ||
| R | @ | ||
| I | @ | ||
| dispatchGlobalEventToAllElements | @ | ||
| onGlobalEvent | @ |
Hi Admir Hodžic,
We have confirmed that this is a breaking issue and logged a defect report titled “Exception thrown during searching after Grid filtering action”. Thank you for taking the time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our patch release which is expected to be rolled out on or before 27th May 2025.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
https://www.syncfusion.com/feedback/67711/exception-thrown-during-grid-filtering-with-virtualization-using-odatav4-adapter
Disclaimer: “Inclusion of this solution in the weekly release may
change due to other factors including but not limited to QA checks and works
reprioritization”
Until then we appreciate your patience.
Regards,
Sanjay Kumar Suresh
This is fixed with version 29.2.7 .
Thanks a lot.
Hi Admir Hodžic,
We are happy to hear that the your query has been resolved at your end. Please get back to us if you need any other assistance.
Regards,
Sanjay Kumar Suresh