BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
function create(args){ //Create event of Grid control
this.element.on("mousedown", ".e-gridheader .e-filtericon", function () {
$("#Grid_stringDlg").ejDialog({
//open event of the filter menu dialog
open: function (e) {
var dp = this.element.find(".e-autocomplete"), instance;
if (dp.length) {
instance = dp.data("ejAutocomplete");
instance.option("model.dataSource", []);
}
}
});
})
}
|
Thanks.
I opted for setting the dataSource to null. But I had to add the following inside the "if" statement to remove the annoying "No suggestions" results box.
instance.option("model.showEmptyResultText", false);
Jim