Grid Groupable not working

3 posts, 0 answers
  1. Rocio
    Rocio avatar
    28 posts
    Member since:
    Dec 2015

    Posted 02 Aug 2016 Link to this post

    Thank you in advance for any feedback!

    I am attaching some sample code where I am binding data with grid; then setting the groupable option to true.  When I intend to use the group column two things happens.  One it displays the field name and not the title name, and the most important part it returns nothing.



  2. Dimo
    Dimo avatar
    8381 posts

    Posted 04 Aug 2016 Link to this post

    Hi Rocio,

    Based on the provided information, I suspect the Grid is initialized two times - once via kendo.bind() and once programmatically via kendoGrid(). The second initialization removes the dataSource settings, or at least I do not see them in the code. As a result, grouping cannot occur, as there is no information where to get the data from.

    Duplicate initialization is not allowed:

    If your scenario is different, please elaborate and even better, send a runnable example.

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. Rocio
    Rocio avatar
    28 posts
    Member since:
    Dec 2015

    Posted 05 Aug 2016 in reply to Dimo Link to this post

    Thank you for your reply. You are correct, I was initializing two times the grid and that was causing the problem.  In addition, I was defining a table and then binding the grid to the table which may have been part of the problem too.  I followed your directions, and only bind it to a div; and not it works.


Back to Top