jquery - KendoDrop returning selected object to the kendo ui grid -


i using jquery version of kendo ui grid. see sample below. using custom kendo drop down editor, when row having single peron name. multiple names binded grid in comma separated manner using template. when on selection dropdown returning me person name rather entire selected object. how return selected object fom kendo dropdown kendo ui grid.

persons column

peter,john

russel

grid template:

field: "peronnameslist",  title: "names", editor: nameeditor, template: function (dataitem) {          if (dataitem.peronnameslist.length > 0) {                var names="";                (var = 0; < dataitem.peronnameslist.length; i++) {                    tasks += dataitem.peronnameslist[i].name + ",";                }                return names;          }           else {                return "";          }  } 


Comments