I would like to add the custom event in the empty function from empty results.
Here is an example code.
,templates: {empty: \'No results\' + \'