How to prevent detailCollapse event on kendo grid (jquery)?

2 posts, 0 answers
  1. Lily
    Lily avatar
    6 posts
    Member since:
    Aug 2015

    Posted 15 Oct 2015 Link to this post

    I created a grid with detail rows. Detais rows may have unsaved data. In that case I need to stop the collapse event. My code is not working:

    var detailGrid = $("#grid-details").kendoGrid({
                detailTemplate: getDetailTemplate,
                detailCollapse: function (e) {
                    if ( I check for changes ) {
                    return false;



    I got to e.preventDefault(), but the row is collapsed anyway

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1746 posts

    Posted 16 Oct 2015 Link to this post



    This is a duplicated post. Please refer to the How to prevent detailCollapse event on kendo grid (jquery)? forum thread for the solution. 


    Boyan Dimitrov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top