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

GroupingMessagesBuilder

Methods

Empty(System.String)

Sets the text of the group panel when grid is not grouped.

Parameters

message - System.String

The message

Example


            @(Html.Kendo().Grid<OrderViewModel>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.Bound(p => p.OrderID);
                    columns.Bound(p => p.Freight);
                })
                .Groupable(g => g.Messages(m => m.Empty("Empty")))
                .DataSource(dataSource => dataSource
                    .Ajax()
                    .PageSize(20)
                    .Read(read => read.Action("Orders_Read", "Grid"))
                )
            )

In this article
Not finding the help you need?