This is a migrated thread and some comments may be shown as answers.

Grid Row Command Button not selecting row in IE

3 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 1
Bill asked on 30 Oct 2014, 03:47 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 31 Oct 2014, 08:28 AM
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.

 
0
Bill
Top achievements
Rank 1
answered on 31 Oct 2014, 01:07 PM
My original post was in error. The problem only occurs when embedding a button into a column custom template. Thanks for the quick response.
0
Dimiter Madjarov
Telerik team
answered on 31 Oct 2014, 01:51 PM
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.

 
Tags
Grid
Asked by
Bill
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Bill
Top achievements
Rank 1
Share this question
or