Skip to content

Example of Overview in ASP.NET MVC Data Grid Control

The basic grid features on large data, with the load time: pick how many rows and columns in the dropdown. Virtual scrolling, filtering, sorting, checkbox selection and column templates.

Load Time: -

This sample shows the grid's everyday features on a large list of employees. Choose up to 100,000 rows in the dropdown: the grid reads them once from the Employees action (ServerOperations = false) and, with EnableVirtualization, draws only the rows in view while you scroll. Load Time is the time from the request to the rows on screen.

The columns use templates (Template = "#id", a <template> with ${Field} placeholders) for the avatar, location, status, trust, rating stars and the proficiency bar. Sort by clicking a header (Ctrl+click for more columns), filter from the filter bar, select rows with the checkboxes, and right-click for the context menu.

The number of rows goes to the server with the request: DataUrlParams for the first one, grid.reload({ rows }) when the dropdown changes. Fewer columns are grid.hideColumns(...).