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.
Unfortunately, activation email could not send to your email. Please try again.

SfDataGrid GridMultiColumnDropDownList Auto Complete

Thread ID:

Created:

Updated:

Platform:

Replies:

131957 Aug 4,2017 07:18 PM Aug 14,2017 10:36 AM WPF 3
loading
Tags: SfDataGrid
Amine Laïeb
Asked On August 4, 2017 07:18 PM

Greetings,
I'm in last version of Syncfusion andGridMultiColumnDropDownList AutoComplete set to true doesn't works, please fix.
Regards

Balamurugan Rajaraman [Syncfusion]
Replied On August 7, 2017 08:19 AM

Hi Amine, 
 
Thanks for Contacting Syncfusion Support.. 
 
We have checked your query “AutoComplete is not working in our Latest version”. We are not able to reproduce the reported issue in our Current Syncfusion product version, Its working fine in our side. we have attached the tested video and sample for your reference, Could you please revert us the information as like in which version you are facing this problem and modified sample to reproduce the reported issue in our end. It will greatly helpful for us to analyze further. 
 
Please find the sample and tested video from the below link 
 
 
 
Regards 
 
Balamurugan R 


Amine Laïeb
Replied On August 11, 2017 09:51 AM

Sorry,

 I was mistaken in the title, it is SfDataGrid GridMultiColumnDropDownList Auto Complete doesn't works, here a sample attached.

Regards


Attachment: Sample_26cc00d0.zip

Balamurugan Rajaraman [Syncfusion]
Replied On August 14, 2017 10:36 AM

Hi Amine, 
 
We have checked your query “Auto Complete is not working”. we regret to inform that the DataTable collection is not supported for the AutoComplete operation. We have stated this limitation in our UG documentation also. Please refer the below UG link for getting information about this limitations. 
 
 
So we have workaround on this query to meet your requirement by converting the DataTable collection in to the Dynamic object and then used that collection as a ItemsSource as like the below provided code sample 
 
public static ObservableCollection<dynamic> ToDynamic(this DataTable dt) 
{ 
    var dynamicDt = new ObservableCollection<dynamic>(); 
    foreach (System.Data.DataRow row in dt.Rows) 
    { 
        dynamic dyn = new ExpandoObject(); 
        dynamicDt.Add(dyn); 
        //Converting the DataTable collcetion in Dynamic collection 
        foreach (System.Data.DataColumn column in dt.Columns) 
        { 
            var dic = (IDictionary<string, object>)dyn; 
            dic[column.ColumnName] = row[column]; 
        } 
    } 
    return dynamicDt; 
} 
 
 
 
. . . . 
 
EmployeeCollection = DataTableExtensions.ToDynamic(ds.Tables["Table1"]); 
            dataGrid.ItemsSource = EmployeeCollection; 
 
We have attached that the sample for your reference, You can able to get it from the below location. 
 
 
Regards, 
Balamurugan R 


CONFIRMATION

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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;