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

SfDataGrid GridMultiColumnDropDownList Auto Complete

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

3 Replies

BR Balamurugan Rajaraman Syncfusion Team August 7, 2017 12:19 PM UTC

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 



AL Amine Laïeb August 11, 2017 01:51 PM UTC

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


BR Balamurugan Rajaraman Syncfusion Team August 14, 2017 02:36 PM UTC

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 


Loader.
Up arrow icon