Syncfusion.AspNetMvc.Grid 34.1.30

Prefix Reserved
dotnet add package Syncfusion.AspNetMvc.Grid --version 34.1.30
                    
NuGet\Install-Package Syncfusion.AspNetMvc.Grid -Version 34.1.30
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.AspNetMvc.Grid" Version="34.1.30" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.AspNetMvc.Grid" Version="34.1.30" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.AspNetMvc.Grid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.AspNetMvc.Grid --version 34.1.30
                    
#r "nuget: Syncfusion.AspNetMvc.Grid, 34.1.30"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.AspNetMvc.Grid@34.1.30
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.AspNetMvc.Grid&version=34.1.30
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.AspNetMvc.Grid&version=34.1.30
                    
Install as a Cake Tool

Syncfusion® ASP.NET MVC Grid Component

The Syncfusion® ASP.NET MVC Grid is a high-performance, feature-rich component for displaying and manipulating tabular data. It supports data binding from a variety of sources including local collections, OData services, and remote REST APIs.

Key Features

  • High-Performance Rendering: Row and column virtualization for large datasets
  • Sorting & Filtering: Single and multi-column sorting with Excel-like and checkbox filtering
  • Grouping: Hierarchical data grouping with support for aggregate functions
  • Editing Modes: Inline, batch, and dialog editing modes with validation
  • Paging Options: Traditional paging, virtual scrolling, and infinite scrolling
  • Column Features: Resizing, reordering, freezing, hiding, and foreign key columns
  • Data Export: Export to Excel, CSV, and PDF formats
  • Master-Detail Views: Hierarchical grids with detail row templates
  • Responsive Design: Mobile-friendly layout with keyboard navigation
  • Accessibility: Full WCAG compliance and ARIA support

Common Setup

These setup steps are required only once for your application, regardless of which Syncfusion components you use.

1. Install Base NuGet Package

Install-Package Syncfusion.AspNetMvc.Grid

2. Add Namespace Reference

Edit Web.config under the Views folder and add the Syncfusion.EJ2 namespace:

<namespaces>
    <add namespace="Syncfusion.EJ2"/>
</namespaces>

3. Add Stylesheet & Script References

In your layout file (~/Views/Shared/_Layout.cshtml), add the following in the <head> section:

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewBag.Title - Syncfusion Application</title>
    
    
    <link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/34.1.30/fluent2.css" />
    
    
    <script src="https://cdn.syncfusion.com/ej2/34.1.30/dist/ej2.min.js"></script>
</head>

4. Register Script Manager

At the end of the <body> tag in your layout file (~/Views/Shared/_Layout.cshtml):

<body>
    @RenderBody()
    
    
    @Html.EJS().ScriptManager()
</body>

Quick Start

Step 1: Add Controller: ~/Controllers/HomeController.cs

using System;
using System.Collections.Generic;
using System.Web.Mvc;

public class HomeController : Controller
{
    public ActionResult Index()
    {
        List<OrderData> orders = new List<OrderData>
        {
            new OrderData { OrderID = 10248, CustomerName = "VINET", ShippedDate = new DateTime(2023, 07, 04), Freight = 32.38 },
            new OrderData { OrderID = 10249, CustomerName = "TOMSP", ShippedDate = new DateTime(2023, 07, 05), Freight = 11.61 },
            new OrderData { OrderID = 10250, CustomerName = "HANAR", ShippedDate = new DateTime(2023, 07, 08), Freight = 65.83 },
            new OrderData { OrderID = 10251, CustomerName = "VICTE", ShippedDate = new DateTime(2023, 07, 08), Freight = 41.34 }
        };
        ViewBag.DataSource = orders;
        return View();
    }
}

public class OrderData
{
    public int OrderID { get; set; }
    public string CustomerName { get; set; }
    public DateTime ShippedDate { get; set; }
    public double Freight { get; set; }
}

Step 2: Add ASP.NET MVC DataGrid control

Add the Syncfusion® ASP.NET MVC DataGrid control ~/Views/Home/Index.cshtml page:

@Html.EJS().Grid("Grid")
    .DataSource((IEnumerable<object>)ViewBag.DataSource)
    .AllowPaging(true)
    .AllowSorting(true)
    .AllowFiltering(true)
    .Columns(col =>
    {
        col.Field("OrderID").HeaderText("Order ID").Width("120").Add();
        col.Field("CustomerName").HeaderText("Customer Name").Width("150").Add();
        col.Field("ShippedDate").HeaderText("Shipped Date").Width("130").Format("yMd").Add();
        col.Field("Freight").HeaderText("Freight").Width("120").Format("C2").Add();
    })
    .Render()

Step 3: Run the Application

Press Ctrl+F5 to run the application in your browser.

Documentation

Support

License

This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA

About Syncfusion®

Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET MVC | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com

sales@syncfusion.com | Toll Free: 1-888-9-DOTNET

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Syncfusion.AspNetMvc.Grid:

Package Downloads
Syncfusion.AspNetMvc.Gantt

Syncfusion® ASP.NET MVC Gantt Chart control is a project management tool for visualizing and managing project schedules. It supports features like task dependencies, critical path, baseline, resource allocation, milestones, task labels, zooming, timeline views (day, week, month, year), drag-and-drop task scheduling, editing, filtering, sorting, and exporting to PDF and Excel. It is ideal for project planning, resource management, and timeline visualization in enterprise ASP.NET MVC applications.

Syncfusion.AspNetMvc.TreeGrid

Syncfusion® ASP.NET MVC TreeGrid control is a feature-rich hierarchical data grid for displaying tree-structured (parent-child) tabular data. It supports self-referential and hierarchical data binding, lazy loading, virtual scrolling, column resizing, reordering, sorting, filtering, editing (inline, dialog, batch), aggregates, summary rows, column templates, row drag-and-drop, export to Excel/PDF, and accessibility. It is ideal for displaying organizational charts, file systems, bill of materials, and nested data structures in ASP.NET MVC applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
34.1.30 49 7/9/2026
34.1.29 184 7/6/2026