I create a Grid using kendoGrid :), here is the code for getting the selected row's data
so, what should i do to get the pure product object without the properties: _events , uid..
since my native language is not English, please forgive my grammar errors :)
var tr = $("#productGrid").find("tbody tr.k-state-selected");var product = $("#productGrid").data("kendoGrid").dataItem(tr);for(var o in product){ if(product.hasOwnProperty(o)){ //do something with o .. //Here i found o has properties like: _events,uid /* product o.extend.init _events: Object test0: o.extend.init test1: o.extend.init[2] test2: "string" test3: "string" uid: "b5494c4b-c89d-4139-885d-b376933f17bd" __proto__: y.extend.b */ //It may have trouble when i want to do something with o }}so, what should i do to get the pure product object without the properties: _events , uid..
since my native language is not English, please forgive my grammar errors :)