New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Grid API

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
api.cshtml
ApiController.cs
ProductService.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC Grid exposes rich client-side API and events, which provide easy configuration or extension points for custom functionality on top of the built-in features.

This demo shows how to get a reference to the client object of the ASP.NET MVC Grid, collect the numeric value entered by the user and use this value to select, expand or collapse its rows, or resize columns by using its select(), expandGroup(), collapseGroup(), and resizeColumn() client methods.

The Grid also contains a Telerik UI for ASP.NET MVC ToolBar instance which enables you to hide the tools that do not fit its width and allows you to programmatically determine their rendering. By default, the ToolBar allows you to choose from three different overflow modes for smaller screen sizes: Menu Mode, Scroll Mode, and Section Mode.

For more information about the available client-side API, refer to the API documentation of the Telerik UI for ASP.NET MVC Data Grid.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources