groupable.messages

2 posts, 0 answers
  1. Tim
    Tim avatar
    2 posts
    Member since:
    Jul 2015

    Posted 09 May 2016 Link to this post

    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"

  2. Patrick
    Admin
    Patrick avatar
    230 posts

    Posted 09 May 2016 Link to this post

    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!
     
Back to Top