RKRevathi K Syncfusion Team May 29, 2014 05:04 AM UTC
From: venky star
[mailto:email@example.com] Sent: Thursday, May 29, 2014 12:02 AM To: Syncfusion Support Subject: Re: Syncfusion support community forum 116433, How to set grid
bound data grid columns As a Auto complete in sync fusion in c#, has been
Your answer is use full for Data bound data grid
columns once As a Combo box its possible to set Auto complete easily, But What
i am asking is In Data bound data grid having text box/(original text box)
default right so that column i need to set as a Auto complete
So please give me guidance for this task.
thank you in Advance
NKNeelakandan Kannan Syncfusion Team June 4, 2014 04:39 AM UTC
Thanks for your updates.
Auto Complete Text
Box in GridControl
ShowButtons property ensures that
show or hide the cell button in Grid. So, If we set this property to
hide, we can display combo box cell as a text box.
AutoCompleteInEditMode Property ensures that enabling auto
complete. So, You can make use of below code,
Ok, So if we decide to use Combobox then also tell us how could we assign DataSource for Combobox dynamically i.e. filtered data in datasource based on what user has typed in.
PMPiruthiviraj Malaimelraj Syncfusion Team November 30, 2016 12:27 PM UTC
Thanks for the update.
We have analyzed your scenario and created the simple sample as per your requirement. By default, particular cell style cannot be changed at run time for theGridDataBoundGrid without usingQueryCellInfoevent. So thedatasourceof the particular cell cannot be changed on run time.
In order to change the data source of theComboBoxCellbased on the text typed in the cell dynamically, custom cell renderer and cell model which is derived fromComboBoxCellRendererandComboBoxCellModelcan be used.