$('#dg').datagrid({ rowEvents: $.extend({}, $.fn.datagrid.defaults.rowEvents, { longclick: function(e){ //... } })})