Grid Row Command Button not selecting row in IE

4 posts, 0 answers
  1. Bill
    Bill avatar
    13 posts
    Member since:
    Apr 2014

    Posted 30 Oct 2014 Link to this post

    In our JS onClick event we have the following code:

            var grid = $("#MyGrid").data("kendoGrid");
            var row = grid.select();

    When running on IE (test on versions 9, 10, 11) the row is null if the row isn't specifically selected before clicking on the button. Any work around for this?

    thanks

    Bill
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 31 Oct 2014 Link to this post

    Hi Bill,


    I was unable to reproduce the behavior on my side. If no rows are selected, the select() method returns an empty jQuery collection.

    Regards,
    Dimiter Madjarov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Bill
    Bill avatar
    13 posts
    Member since:
    Apr 2014

    Posted 31 Oct 2014 in reply to Dimiter Madjarov Link to this post

    My original post was in error. The problem only occurs when embedding a button into a column custom template. Thanks for the quick response.
  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 31 Oct 2014 Link to this post

    Hi Bill,


    It is still no clear for us what is causing the mentioned issue on your end. Please provide a small runnable example, that demonstrates it so we could provide further assistance.

    Regards,
    Dimiter Madjarov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready