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

groupable.messages

1 Answer 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 09 May 2016, 03:02 PM

The documentation for `groupable.messages` seems incomplete.  http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-groupable.messages

I'm looking for a way to remove the field prefix from the grouped headers.

i.e., instead of saying "category: Beverages" to just say "Beverages"

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 09 May 2016, 03:59 PM
Hello Tim,

Please take a look at the following Telerik Dojo which illustrates how to use group header templates to change the default group header.

The example uses columns.groupHeaderTemplate.  Here is the code in the example:
columns: [
  { field: "productName" },
  { field: "category",
  groupHeaderTemplate: "#= value #"
  }
],
 
Hope this helps!

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or