We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET MVC Data Grid/data table is a feature-rich control for displaying data in a tabular format. Its wide range of functionalities includes data binding, editing, Excel-like filtering, custom sorting, aggregating rows, data-annotation, selection, and support for Excel, CSV, and PDF formats.


Why choose Syncfusion ASP.NET MVC Grid?

ASP.NET MVC grid high performance.

High performance

Well thought out efforts, and focuses mainly on fast paced performance to load millions of records in just a second.

ASP.NET MVC grid seamless data binding.

Seamless data binding

Bind data seamlessly with various local and remote data sources such as JSON, OData, WCF, and RESTful web services with the help of data manager.

ASP.NET MVC grid adapts to any resolution.

Adapts to any resolution

DataGrid has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

ASP.NET MVC grid flexible editing.

Flexible editing

The ASP.NET MVC Grid performs create, read, update, and delete operations (CRUD) more easily with a list of business objects or remote data service with the help of a data manager.

ASP.NET MVC grid create your own template designs.

Create your own template designs

Allows users to create custom user experiences in the ASP.NET MVC Grid based on their application needs using a wide range of template options.

ASP.NET MVC grid customizable themes.

Attractive customizable themes

Cutting-edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes easily.

ASP.NET MVC grid exporting and printing.

Easy export and printing

Export the Data Grid in various file formats, including Excel, PDF, and CSV. Print all the rows, regardless of the number of pages, as well as the currently viewed page.

ASP.NET MVC grid globalization and localization.

Globalization and localization

Enables users from different locales to use them by formatting dates, currency, and numbering to suit preferences.


ASP.NET MVC DataGrid Code Example

Easily get started with the ASP.NET MVC DataGrid using a few simple lines of CSHTML and C# code as demonstrated below. Also explore our ASP.NET MVC DataGrid Example which that shows you how to render and configure a DataGrid in ASP.NET MVC.

@using Syncfusion.EJ2
@{
    ViewBag.Title = "DefaultFunctionalities";
}

@section ControlsSection{
    <div class="control-section">
        @Html.EJS().Grid("DefaultFunctionalities").DataSource((IEnumerable<object>)ViewBag.dataSource).Columns(col=> {

       col.Field("OrderID").HeaderText("Order ID").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Width("120").Add();
       col.Field("CustomerID").HeaderText("Customer Name").Width("150").Add();
       col.Field("OrderDate").HeaderText("Order Date").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Width("130").Format("yMd").Add();
       col.Field("Freight").HeaderText("Freight").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Right).Width("120").Format("C2").Add();
       col.Field("ShippedDate").HeaderText("Shipped Date").Width("140").Format("yMd").Add();
       col.Field("ShipCountry").HeaderText("Ship Country").Width("150").Add();

       }).AllowPaging().PageSettings(page=>page.PageCount(5)).Render()
    </div>
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EJ2MVCSampleBrowser.Models;
using MVCSampleBrowser.Models;

namespace EJ2MVCSampleBrowser.Controllers.Grid
{
    public partial class GridController : Controller
    {
        // GET: DefaultFunctionalities
        public ActionResult DefaultFunctionalities()
        {
            var order = OrdersDetails.GetAllRecords();
            ViewBag.datasource = order;
            return View();
        }
    }
}

ASP.NET MVC Data Grid Skeleton loading indicator.

Skeleton loading indicator

The Data Grid helps improve visualization while loading data by showing the Shimmer effect as loading indicator in-between the time of fetching the data from server(service) and binding it to the grid during initial rendering or refreshing or after performing any grid action like sorting, filtering, grouping, and more. The Data Grid offers two types of loading indicator effect, spinner and shimmer.


Adaptive UI layout

The Data Grid user interface is customized and redesigned for great views and usability on small screens. Its features include filter, sort, search, column chooser, column menu, pager dropdown, and edit dialogs that are adaptive to the screen size and render row elements in a vertical direction.

ASP.NET MVC Data Grid Adaptive UI Layout.


ASP.NET MVC Data Grid Column.

Column

Columns define the schema of the data source in the Data Grid. It supports formatting, auto-generating columns, column definitions, freezing rows and columns, column spanning, text wrapping, column chooser, column menu, and other features.


Paging

Paging is used to view a segment of data from the assigned data source. The ASP.NET MVC Data Grid offers a built-in pager UI with options to customize its entire UI. It also has an on-demand paging mode for effective data retrieval from remote web services.

ASP.NET MVC Data Grid Paging.


ASP.NET MVC Grid/Data Grid Sorting.

Sorting

Sort rows either in ascending or descending order against a column by simply clicking the header. Sort multiple columns’ data by holding the Ctrl key + header click. In addition, define your own custom sorting logic based on the application needs.


Filtering

Filtering helps view particular or related records that meet a given criteria in the data grid. The data grid supports various filter types, including powerful Excel-like filters. Choose the appropriate filter type, define your own custom filtering logic, and customize the filtering UI based on the application’s needs. Diacritic characters can also be filtered.

ASP.NET MVC Data Grid Filtering.


ASP.NET MVC Data Grid Selection.

Selection

Select rows or cells using the checkbox or by simply clicking them. Select more than one row or cell by holding Ctrl, Shift, or Command, or programmatically.


Editing

The ASP.NET MVC Data Grid supports create, read, update, and delete operations (CRUD). In addition to built-in editor components to edit a particular column value, custom editor components can be created using templates according to the application’s needs. With the help of a data manager, you can perform editing operations with array collection or remote data service.

ASP.NET MVC Data Grid Editing.


ASP.NET MVC Data Grid Grouping.

Grouping

Group rows to display the data in an organized hierarchical structure in ascending or descending order to facilitate easier expansion and collapse of records. There is an option to group records of the desired column by simple drag and drop of that column in an interactive drop area.


Aggregation

Easily visualize the aggregates of the Data Grid column values using the summary option. Aggregates can be customized to show their value in individual summary rows, individual group summary rows, or group caption rows.

ASP.NET MVC Data Grid Aggregation.


ASP.NET MVC DataGrid with Freeze rows and columns.

Frozen rows and columns

Frozen rows and columns are visible at the top and on the left, right, both, or fixed position, respectively, making the remaining grid content scrollable. This feature is mainly used to compare cell values.


The ASP.NET MVC Data Grid header has to be in a fixed position when scrolling the document vertically to visualize the Data Grid content along with the column header.

ASP.NET MVC Data Grid Sticky header.


ASP.NET MVC Grid row drag and drop.

Row drag and drop

The ASP.NET MVC Grid allows users to drag and drop rows to another DataGrid or custom component. Users can also drag and drop rows within the same DataGrid using the drag icon and transfer rows between different groups.


Master-detail Grid

ASP.NET MVC Master Detail Grid is a use-case scenario in which a record’s details are viewed in a separate data grid by clicking a particular row.

ASP.NET MVC master detail grid.


Additional features

ASP.NET MVC Data Grid with row height.

Row height

Row height is a major factor when displaying the number of records in the viewport, and it is easily customizable based on the application’s UI requirements. It is also possible to set row height conditionally.

Copy to clipboard from Data Grid.

Copy to clipboard

The clipboard allows users to copy data from selected rows or cells into it. The Ctrl+C and Ctrl+Shift+H key combinations copy data with and without headers, respectively.

ASP.NET MVC Data Grid with context menu.

Context menu

Performs various actions in a Data Grid using the popup menu that appears when the cell, header, or pager is right-clicked. In addition to built-in default menu items, custom context menu items can be added.

Width and height in ASP.NET MVC Data Grid.

Width and height

Set the width and height properties to change the size of the data grid. When the content overflows the grid element, horizontal and vertical scrollbars will appear. To fill the data grid’s parent container, simply set the height and width to 100%.

ASP.NET MVC Data Grid with Stacked headers.

Stacked headers

Stacked headers allow grouping and visualizing column headers in a stacked manner. The number of columns that can be stacked is unlimited. Perform all Data Grid actions even when the columns are stacked.


Accessibility

Keyboard navigation in ASP.NET MVC Data Grid.

Keyboard navigation

Data Grid ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this component.

Accessibility and screen reader support in ASP.NET MVC Data Grid.

Screen reader

The ASP.NET MVC Data Grid view has complete WAI-ARIA accessibility support. The Data Grid UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in ASP.NET MVC Data Grid.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the Data Grid from right to left. This improves the user experience and accessibility for RTL languages.


Mobile-optimized and touch-friendly

The Data Grid component improves usability and provides an optimized and responsive design for desktops, touchscreens, and phones across all operating systems, including iOS, Android, and Windows.

Touch support in ASP.NET MVC Data Grid.

Touch support

User-friendly touch gestures and an interactive UI design provide the best user experience. All Data Grid features work on touch devices with zero configuration.

Responsive pager UI in ASP.NET MVC Data Grid.

Responsive pager

The Data Grid pager acts intelligently and changes its complete UI responsively based on the dimension. Its optimized design provides the best UI interaction on different devices.





Other supported frameworks

DataGrid component is also available in Blazor, React, Angular, JavaScript and Vue frameworks. Check out the different DataGrid platforms from the links below,

Supported browsers

The ASP.NET MVC Data Grid works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers

85+ ASP.NET MVC UI CONTROLS

Frequently Asked Questions

  • Load millions of records in just a second.
  • Mobile-first design that adapts to any resolution.
  • Flexible data binding with support to use local and remote data sources such as JSON, RESTful services, OData services, and WCF services.
  • Flexible editing and intuitive record selection modes.
  • Out-of-the-box Excel-like filtering and grouping options.
  • Countless column customizations and data summaries.
  • Seamless data exporting options like PDF, CSV, and Excel.
  • One of the best ASP.NET MVC DataGrid in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Expansive learning resources such as demos, and documentation to learn quickly and get started with ASP.NET MVC DataGrid.

We do not sell the ASP.NET MVC DataGrid separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the ASP.NET MVC DataGrid. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our ASP.NET MVC Grid demo, which demonstrates how to render and configure the Grid.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our ASP.NET MVC DataGrid, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their DataGrid control alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile