I have something similar to the following code snippet. When I remove the scrollSettings/frozenColumns setting then the call to selectRows works great. But with the a frozen column the selectRows call will only select one of the rows. I'm passing the selectRows call an array of indexes. Am I missing something? Or is this just a bug?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Essential Studio for JavaScript : Default Functionalities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<link rel='nofollow' href="15.3.0.26/external/bootstrap.css" rel="stylesheet" />
<link rel='nofollow' href="//cdn.syncfusion.com/15.3.0.33/js/web/flat-azure/ej.web.all.min.css" rel="stylesheet" />
<link rel='nofollow' href="15.3.0.26/themes/web/content/default.css" rel="stylesheet" />
<link rel='nofollow' href="15.3.0.26/themes/web/content/default-responsive.css" rel="stylesheet" />
<link rel='nofollow' href="//cdn.syncfusion.com/15.3.0.29/js/web/responsive-css/ej.responsive.css" rel="stylesheet" />
<!--[if lt IE 9]>
<script src="//cdn.syncfusion.com/js/assets/external/jquery-1.10.2.min.js"></script>
<![endif]-->
<!--[if gte IE 9]><!-->
<script src="//cdn.syncfusion.com/js/assets/external/jquery-3.1.1.min.js"></script>
<!--<![endif]-->
<script src="//cdn.syncfusion.com/js/assets/external/jquery.easing.1.3.min.js"></script>
<script src="//cdn.syncfusion.com/js/assets/external/jquery.globalize.min.js"></script>
<script src="15.3.0.26/scripts/web/jsondata.min.js"></script>
<script src="//cdn.syncfusion.com/js/assets/external/jsrender.min.js"></script>
<script type="text/javascript" src="//cdn.syncfusion.com/15.3.0.33/js/web/ej.web.all.min.js"></script>
<script src="15.3.0.26/scripts/web/properties.js" type="text/javascript"></script>
</head>
<body>
<div id="Grid"></div>
<script type="text/javascript">
$("#Grid").ejGrid({
dataSource: window.gridData,
allowPaging: false,
allowScrolling: true,
editSettings: { allowEditing: true },
scrollSettings: { frozenColumns: 1 },
columns: [
{ field: "OrderID", headerText: "Order ID", isPrimaryKey: true, textAlign: ej.TextAlign.Right, width: 90},
{ field: "CustomerID", headerText: "Customer ID"},
{ field: "ShipCity", headerText: "Ship City"}
]
});
$("#Grid").ejGrid("instance").selectRows([1,2,3,4]);
</script>