Hi,
I'm trying the Multicolumn settings in the Autocomplete Textbox, but it doesn't seem to work with remote datasource. This is my control:
@{
Html.EJ()
.Autocomplete("searchCustomer")
.Datasource(d => d.URL("http://mvc.syncfusion.com/Services/Northwnd.svc/").Offline(false))
.Query("ej.Query().from('Suppliers').select('SupplierID', 'ContactName')")
.AutocompleteFields(f => f.Text("ContactName").Key("SupplierID"))
.WatermarkText("Search a customer")
.MultiColumnSettings(obj => obj.Enable(true)
.Columns(obj1 =>
{
obj1.Field("SupplierID").HeaderText("Id").Add();
obj1.Field("ContactName").HeaderText("Supplier").Add();
})
.ShowHeader(true)
.StringFormat("{0} ({1})")
)
.Render();
}
Can anyone help? is it possible to use it with remote data?
Thanks