I could suggest using a template to create an input element with a unique id, from which a Rating widget would be initialized. Then in the dataBound event handler initialize a Rating widget for each input element.
dataBound:function(e){
var items = e.sender.items();
items.each((item,element)=>createRating(item,element))
}
...
function createRating(item,element) {
var grid = $("#grid").getKendoGrid();
var dataItem = grid.dataItem(element);
var rating = $(element).find('.ratingInGrid');
rating.kendoRating({
min: 1,
max: 5,
selection: "continuous",
precision: "half",
value:dataItem.rating
});
}
Below I am posting a small Dojo demo demonstrating the above. Let me know if you have any questions.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.