The GridBlazor component installation is straightforward. Just follow these steps:
-
Create a new ASP.NET Core MVC solution using .Net Core 3.x template.
-
Install GridBlazor and GridMvcCore nuget packages on the project.
-
Add the following lines to the _Host.cshtml view or directly to the page:
<link href="_content/GridBlazor/css/gridblazor.min.css" rel="stylesheet" /> <script src="_content/GridBlazor/js/gridblazor.js"></script>
These files will be loaded from the GridBlazor nuget package, so it is not necessary to copy it to you project.
-
If you are using Boostrap 3.x you will also need this line in the _Host.cshtml view or directly to the page:
<link href="~/_content/GridBlazor/css/gridblazor-bootstrap3.min.css" rel="stylesheet" />
The Grid.Demo contains an example using a GridBlazor component.
The view BlazorComponentView uses a GridBlazor component.