Hi,
We are running into a issue while using group by feature and checkbox row selection feature together.
Steps to Reproduce:
1. Select multiple rows (Ex: Product id 1 to 4) using selection checkbox
2. Drag Product ID column into group by Area. As per the jquery code, it will be collapsed by default
3. Try to expand the plus sign (grouped row) and it unchecks the selection checkbox.
Please find the sample code below:
http://jsfiddle.net/xfg41d3L/8/
Thanks,
Valliappan
Hello Valliappan,
Thank you for posting in our forum.
Since the group row gets selected when you click it all other selections would be cleared.
You can cancel selection for all group rows by handling the rowSelectionChanging event and canceling the event if the current target row is a group row.
For example:
$(document).delegate("#grid", "iggridselectionrowselectionchanging", function (evt, ui) {
var row = ui.row;
if(row.element.attr("data-grouprow") === "true"){
return false;
}
});
You can refer to the following jsfiddle with the change applied here:
http://jsfiddle.net/xfg41d3L/10/
Let me know if you have any additional questions or concerns.
Best Regards,
Maya Kirova
Infragistics, Inc.
http://ko.infragistics.com/support