Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150826 | Jan 21,2020 11:57 AM UTC | Jan 22,2020 02:26 PM UTC | ASP.NET Web Forms | 1 |
![]() |
Tags: Grid |
<script type="text/javascript">
function autoComplete_create(args) {
return "<input>"
}
function autoComplete_write(args) {
var gridObj = $('#<%= Grid1.ClientID %>').data("ejGrid");
var data = ej.DataManager(gridObj.model.dataSource).executeLocal(new ej.Query().select("fullnameReceive"));
args.element.ejAutocomplete({ width: "100%", dataSource: data, enableDistinct: true, filterType:"contains", focusOut: ej.proxy(args.column.filterBarTemplate.read, this, args) });
}
function autoComplete_read(args) {
this.filterColumn(args.column.field, "contains", args.element.val(), "and", true)
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.