In grid, I need to dynamically add a value to a column with a new row using a pop-up box. when I get dataSource I tried this method,
var
firstItem = $(
'#GridName'
).data().kendoGrid.dataSource.data()[0];
firstItem.set(
'name'
,
'The updated Name'
);
but it was useless.
In fact, it gets the value given to it, but it doesn't show up,(I guess it's the edit reason,but I don't know how to solve it)
What should I do to achieve it? Thank you very much. I look forward to your answer.