I am using kendo grid. i want to add textbox to multiple rows in kendo grid without clicking any edit button and i am using java spring mvc, so i am not using .net and i am attaching a screen shot here i want to do like this using kendo grid ui.
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 10 Nov 2017, 11:16 AM
Hi Srini,
Placing editors in the template of a column is not recommended, because if the editor is bound correctly to the dataItem, after each change in the editor, the entire Grid will be rendered again. Nevertheless, you could refer to the following HowTo example for the Kendo UI Grid, which is applicable with the wrappers as well:
Another option would be to manually set the value from the datItem to the editors (again within the dataBound event, but without the kendo.bind) and within the change event of the editor, update the underlying value of the dataItem:
function dropDownChangeEventHandler(e){
////
dataItem["yourFieldName"] = e.sender.value();
dataItem.dirty = true;
}
Once again, we do not recommend this approach and I would suggest that you use the Batch editing instead: