Skip to content

Grid component with CRUD for Blazor (client-side and server-side) and ASP.NET Core MVC

License

Notifications You must be signed in to change notification settings

dringwala/Grid.Blazor

 
 

Repository files navigation

Grid.Blazor

A fork from: https://github.com/gustavnavar/Grid.Blazor

It supports .NET Core 3.1

Notes

  • Grid components have been moved to GridBlazor.Pages folder in GridBlazor 1.3.2. You must add a reference to this namespace in the _Imports.razor:

        @using GridBlazor.Pages
  • Blazor Server App require these changes on to the _Host.cshtml file for .Net Core 3.1:

        <link href="_content/GridBlazorPlus/css/gridblazor.min.css" rel="stylesheet" />
        <script src="_content/GridBlazorPlus/js/gridblazor.js"></script>
  • Blazor WebAssembly projects require to use a new constructor of the GridClient object including an HttpClient object from Dependency Injection for .Net Core 3.1:

        @page "/..."
        @inject HttpClient httpClient
    
        ...
    
        protected override async Task OnParametersSetAsync()
        {
            ...
            var client = new GridClient<Order>(httpClient, url, query, false, "ordersGrid", Columns);
            ...
        }
    

Demo

http://gridblazor.azurewebsites.net

Folder description

The SQL Server database for all demos can be downloaded from here

Documentation

There are native C# Grid components for Blazor client-side and server-side, and for ASP.NET Core MVC.

You can find the specific documentation for each environment clicking the following links:

This is an example of a table of items using this component:

Image of GridBlazor

About

Grid component with CRUD for Blazor (client-side and server-side) and ASP.NET Core MVC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 63.6%
  • HTML 27.1%
  • JavaScript 8.8%
  • CSS 0.5%