How do you keep checkbox of grid items selected after process is done

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

How do you keep checkbox of grid items selected after process is done

Post by swiftinitpvtltd »

How do you keep checkbox of grid items selected after process is done, its unchecking the checkbox that was selected after operation is done.
I have written row up down operations but it looses selected one after first up or down-

I want to keep what was selected as checked-
https://docs.telerik.com/kendo-ui/api/j ... tselection
swiftinitpvtltd
Posts: 370
Joined: Sat Apr 28, 2018 3:33 am
Location: India
Contact:

Re: How do you keep checkbox of grid items selected after process is done

Post by swiftinitpvtltd »

I have below script but aware process does not recognize the selection although it shows as selected, I have to manually uncheck and check the box for aware.

widget.bind("dataBound", function(e) {


var data =widget._data;
console.log('ami');
var selectedItem = data[3];
console.log(selectedItem);var grid1=$(".k-grid").eq(1).data('kendoGrid');
widget.select(selectedItem);
var tr1 = $("#grid").find("[data-uid='" + selectedItem.uid + "']");
console.log(tr1);
widget.tbody.find("tr[data-uid='" + selectedItem.uid + "']")
.addClass("k-state-selected")
.find(".k-checkbox")
.attr("checked", "checked");

});
Post Reply