or
var root2 = vm2.get('_root');$('tr').dblclick(function() { alert('hola'); }); But this doesnt work. If i want a dobleclick event o all table i can use$('table').dblclick(function() { alert('hola'); }); and this works. What is it the problem? I try to debug javascript y chrome and the first code ( $('tr').dblclick(function() { alert('hola'); }); ) works and can select different rows.The same problem ocurrs with click event.
$(grid).data("kendoGrid").dataSource.view()
takes into account grid paging also, and does not return the items of the entire datasource sorted. Can I get somehow all dataitems sorted regardless of paging?
Thanks in advacne
html += that._createButton({ name: "update", text: updateText, attr: attr }) + that._createButton({ name: "canceledit", text: cancelText, attr: attr });html += '<div>' + that._createButton({ name: "update", text: updateText, attr: attr }) + that._createButton({ name: "canceledit", text: cancelText, attr: attr }) + '</div>';