Skip to content

SyncfusionExamples/Blazor-DataGrid-Remote-SaveAdaptor-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blazor DataGrid - RemoteSaveAdaptor with CRUD

This example shows that how to bind local data and perform CRUD at server by using RemoteSaveAdaptor.

Overview

To perform all Grid Actions (like paging, filtering, sorting) in client-side except the CRUD operations, that should be interacted with server-side to persist data. It can be achieved in Grid by using RemoteSaveAdaptor.

Datasource must be set to json property and set RemoteSaveAdaptor to the adaptor property. CRUD operations can be mapped to server-side using insertUrl, updateUrl, removeUrl properties.

Architecture Overview

This is a Blazor hosted application with a clear separation of concerns:

  • Client (/Client): Blazor WebAssembly frontend with the DataGrid UI and client-side data operations
  • Server (/Server): ASP.NET Core backend with API endpoints for CRUD operations
  • Shared (/Shared): Shared data models and types used by both client and server

Features

  • Hybrid Data Operations – Client-side efficiency meets server-side persistence
  • Real-time Grid Interactions – Instant UI updates for user actions
  • Sample Data – Pre-populated with order records for testing
  • Syncfusion Components – Industry-standard DataGrid with comprehensive features

Prerequisites

Getting Started

Clone the repository

git clone https://github.com/SyncfusionExamples/Blazor-DataGrid-Remote-SaveAdaptor-CRUD.git
cd Blazor-DataGrid-Remote-SaveAdaptor-CRUD

Run with Visual Studio

  1. Open the solution file using Visual Studio 2022 or later.
  2. Restore the NuGet packages by rebuilding the solution.
  3. Build the project to ensure there are no compilation errors.
  4. Run the project.

References

About

This example shows that how to bind local data and perform CRUD at server by using RemoteSaveAdaptor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors