|116433||May 24,2014 04:23 AM UTC||Nov 30,2016 12:27 PM UTC||WinForms||5|
Thanks for your interest in Syncfusion Products.
We would like to let you know that the reported scenario can be achieved by assigning ComboBox celltype type to that particular column.
Please let us know if you have any concerns.
From: venky star
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 updated.
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
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,
private void Form1_Load(object sender, EventArgs e)
AutoCompleteStringCollection stringcol=new AutoCompleteStringCollection();
this.gridControl1[1, 1].CellType = GridCellTypeName.ComboBox;
this.gridControl1[1, 1].DataSource = stringcol;
gridControl1[1,1].DropDownStyle = GridDropDownStyle.Editable;
gridControl1[1, 1].AutoCompleteInEditMode = GridComboSelectionOptions.AutoComplete;
gridControl1[1, 1].ShowButtons = GridShowButtons.Hide;
Please let us know if you have any concerns,
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 the GridDataBoundGrid without using QueryCellInfo event. So the datasource of the particular cell cannot be changed on run time.
Please refer to the below KB ,
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.
This page will automatically be redirected to the sign-in page in 10 seconds.