or
$('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>';<tr><td class=view><font color=red>Third Phone Type</td><td class=view><input type=hidden name="oldfield13" value="Not Given"><select id="i13" class=view name="field13"> <option value=""></option> <option selected value="Not Given">Not Given</option> <option value="Home">Home</option> <option value="Office">Office</option> <option value="Mobile">Mobile</option> <option value="Direct Dial">Direct Dial</option> <option value="Primary">Primary</option> </select> </td></tr> <tr><td class=view>Contact EMail Address</td><td class=view><input type=hidden name="oldfield14" value="xxxx23285@gmail.com"><input type=text class=view name=field14 value="arun23285@gmail.com"></td></tr> <tr><td class=view>Payslip EMail Address</td><td class=view><input type=hidden name="oldfield15" value=""><input type=text class=view name=field15 value=""></td></tr> <tr><td class=view><font color=red>Gender</td><td class=view><input type=hidden name="oldfield16" value="Female"><select id="i16" class=view name="field16"> <option value=""></option> <option value="Not Given">Not Given</option> <option value="Male">Male</option> <option selected value="Female">Female</option> </select> </td></tr> <tr><td class=view>Date of Birth</td><td class=view><input type=hidden name="oldfield17" value="1 July 1986 00:00:00"><input id="i17" type=text class=view name=field17 value=""></td></tr>
<script> $(document).ready(function() { $("#i17").kendoDatePicker({format:"dd MMM yyyy"}) }); </script>I pick a date, when I close the datepicker window, the value has filled in on the text box, and then when I post, I have a debug routine that reads all the posted data, and displays it in a table. I get this (amongst other stuff)then some time later, at the end, I have
| oldfield13 | Not Given |
| field13 | Not Given |
| oldfield14 | xxxx23285@gmail.com |
| field14 | xxxx23285@gmail.com |
| oldfield15 | |
| field15 | |
| oldfield16 | Female |
| field16 | Female |
| oldfield17 | 1 Jan 1900 00:00:00 |
| oldfield18 | Indian |
| field18 | Indian |