javascript - Kendo ui sortable trigger start-event when click on spezific area -


i customize kendo sortable function. want start drag row when click on last cell of row.

i think easiest, when trigger event "start", cant trigger event myself.

here work @ moment: my work.

my question how can sort row click last cell?

(its first question if can give me tipps improve question skills, pls let me know) :)

best wishes lukas

no need bind custom click event that, define handler property:

$("#sortable").kendosortable({   filter: "tr",   handler: "td.startdrag",   hint: function(element) {     return $("<span></span>")       .text(element.text())       .css("color", "#ff0000");   },   start: function(e){             //the event wanna trigger clicking on last cell   } }); 

demo


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -