Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 744 Bytes

File metadata and controls

25 lines (17 loc) · 744 Bytes

GridMvc for ASP.NET Core MVC

Grouping

Index

You can also configure grouping using the Groupable method of the Grid object:

    @await Html.Grid(Model).Columns(columns =>
    {
        columns.Add(foo => foo.Title);
        columns.Add(foo => foo.Description);
    }).Groupable(true).RenderAsync()

You can drag the column title and drop it on the sorting area. You can add multiple columns at the same time and select if sorting is ascending or descending column by column. The grid items will be grouped by the values of the selected columns.

This is an example of a table of items using grouping:

<- Sorting | Selecting row ->