So if in your column specification you specify Locked:true for example
columns: [
{
field: "OrderDate",
title: "Order Date",
width: 180,
locked: true,
lockable: false,
format: "{0:MM/dd/yyyy}"
},
{
field: "ShipCountry",
width: 180,
lockable: false,
title: "Ship Country"
}
]
then you add in multiple selections so
selectable: "multiple, row",
Now if you add your change event like this
change: function(e) {
var selectedRows = this.select();
alert(JSON.stringify(selectedRows));
},
you will see the length will now be double, IE if you select 1 row then the length of selectedRows is 2 with a duplicate entry, If you remove the locked:true from the column then it gets it correct at 1. I am guessing it is creating a duplicate locked column etc.
I have confirmed this on the online examples just adding in this things.
Is this a known bug?
Is this a new bug?
Do you know a way around this so you can actually tell the accurate elements selected?