We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Autocomplete with remote datasouce not showing Multicolumns

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

1 Reply

NP Narayanasamy Panneer Selvam Syncfusion Team August 25, 2016 10:24 AM UTC

Hi Carlos Hernandez, 

We were able to reproduce the problem with Autocomplete on binding numeric type data and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates 

Regards, 
Narayanasamy P. 


Loader.
Live Chat Icon For mobile
Up arrow icon