Having a frozenColumn makes selectRows(array) call not work
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>
</body>
</html>
SIGN IN To post a reply.
3 Replies
MS
Mani Sankar Durai
Syncfusion Team
October 13, 2017 09:02 AM UTC
Hi Brain,
Thanks for contacting Syncfusion support.
We have analyzed your query and we are able to reproduce the reported issue. We confirmed that the issue with “selecting multiple rows is not working when using frozen rows” is a defect, and we have logged a defect report. The fix for this issue will be included in our Volume 4, 2017 release which is expected to be rolled out by the month of November, 2017.
Regards,
Manisankar Durai.
BR
Brian
October 13, 2017 06:29 PM UTC
Thanks!
RS
Renjith Singh Rajendran
Syncfusion Team
October 16, 2017 04:49 AM UTC
Hi Brain,
We will update you once the Volume 4, 2017 is released. Until then we appreciate your patience.
Regards,
Renjith Singh Rajendran.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
BR Brian
- Oct 12, 2017 09:18 PM UTC
- Oct 16, 2017 04:49 AM UTC