Kendo Grid footerTemplate doesn't disappears when destroy the grid

2 posts, 0 answers
  1. Chris Thierry
    Chris Thierry avatar
    138 posts
    Member since:
    Jun 2010

    Posted 01 Jul 2015 Link to this post

    I'm using kendo ui 2013 Q3, I have a grid that is using footerTemplate and groupFooterTemplate. Everything is good until I destroy the grid to generate new data, the grid is destroyed but the footerTemplate stays there on the grid. My question is: is there anything extra I need to do to completely destroy the grid when I'm using footerTemplate ?
  2. Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 03 Jul 2015 Link to this post

    Hi Chris,

    The widget's destroy method does not detach any elements from the DOM, so my advice is to do that manually. For example: 
    $("#recreateGrid").click(function() {

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top