Hello Pietro,
You need to unsubscribe from the events before subscribing to them again, e.g.:
$('#jqxGrid').off('rowdoubleclick');
$('#jqxGrid').on('rowdoubleclick', function(event) {
// event handler code
});
However, we do not recommend initializing the grid and subscribing to its events multiple times. If you need to update the grid, you only have to set its source property again or call its updatebounddata method. Initializing a grid multiple times may lead to unexpected behaviour.
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/