Click here to Skip to main content
15,917,174 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used kendo grid for display of data, but i am getting an issue in databound event of the grid in dataItem.set() method, here property is not getting set for each row of the grid.


Thanks in advance.

Dipak


What I have tried:

JavaScript
function dataBound(e){
var items = grid.items();
items.each(function (index) {
var dataItem = grid.dataItem(this);
 if (dataItem) {
      if (dataItem["ActionTaken"] == "Add"){ 
        if (rowChanges[dataItem.id]) {
            for (key in rowChanges[dataItem.id]) {
                 dataItem.set(key, rowChanges[dataItem.id][key]);
            }

          }
      }
    }    
  }
Posted
Updated 30-Aug-18 14:54pm

1 solution

Have you tried asking the question in the dedicated Telerik Kendo support forums? You will get the best support for your question there...

Here is the link: Telerik Developer Forums[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900