This is a migrated thread and some comments may be shown as answers.

Howto Change Grid Groupable Drop Header Message

1 Answer 322 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 09 Dec 2012, 01:35 PM
Hi,

How do you change the drop message "Drag a column header and drop it here to group by that column"?

    @(Html.Kendo().Grid(Model.productList.Products)   
        .Name("ProductGrid")
        .Columns(columns =>
        {
...
        })
         .Groupable(g => g.Messages(???))
         .DataSource(dataSource => dataSource
            .Ajax()
            .ServerOperation(false)
        )
Thanks,

PT

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 11 Dec 2012, 03:42 PM
Hi Pierre,

You should use the Empty method of the GroupingMessagesBuilder:

.Groupable(g => g.Messages(messages => messages.Empty("my custom message"))

All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Pierre
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or