Grid in Blazor static server side render

Hi,

Does the Grid control work with Blazor static serverside rendering? If so, do you have an example?

I tried using the Grid with a CustomAdaptor but it does not seem to be working.

Considering that in Blazor static serverside rendering only the form submit and anchor links work, and the other click events are not captured, is there a way to get the Grid control to work in that mode?

I've seen the example with the DataSource. My issue with it is that it seems that you need to load the entire data at the beginning. Is there an event that can be used when we add an item, delete it, filter and sort the data?

Thank you,

Razvan


2 Replies

RA Razvan December 31, 2023 12:04 AM UTC

More specifically is there something like the CustomAdaptor that works with static serverside rendering?



SP Sarveswaran Palani Syncfusion Team January 9, 2024 03:44 AM UTC

Hi Razvan,

Greetings from Syncfusion support.

From your query, we suspect that you’re facing issue in custom adaptor with Grid component. Based on your request, we prepared sample with Custom adaptor on latest version. Kindly refer the attached sample and UG documentation links for your reference.

Reference: https://blazor.syncfusion.com/documentation/datagrid/custom-binding
               https://blazor.syncfusion.com/documentation/datagrid/custom-binding#handling-editing-in-custom-adaptor


If still you’re facing an issue, we request you to share video demo and code snippet of an issue or reproduce a reported issue in the provided sample. It’ll be more helpful to further validate the query and provide precise solution ASAP from our end.

Regards,
Sarvesh


Attachment: Blazorserver_(1)_5ae9afa7.zip

Loader.
Up arrow icon