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

Select cell in Gridlistcontrol by keystroke

Hi

Since we are committed to using a gridlistcontrol in this custom dropdown we would like to move to and select a cell by pressing the key of the first letter of cell's text value (the cells are arranged alphabetically). Once the cell is in focus the user clicks ctrl (or some other key) to select it. There should be the ability to make multiple selections. Is there a sample with this functionality?

Thank you for your help


1 Reply

JJ Jisha Joy Syncfusion Team July 23, 2008 11:34 AM UTC


Hi Ed,

If your intension is to have autocomplete fuctionality in GridListControl dropdown, This can be achieved by setting the DropDownStyle to AutoComplete.


this.gridControl1[2, 2].CellType = GridCellTypeName.GridListControl;
this.gridControl1[2, 2].DropDownStyle = GridDropDownStyle.AutoComplete;
this.gridControl1[2, 2].DataSource = GetTable();
this.gridControl1[2, 2].DisplayMember = "Description";
this.gridControl1[2, 2].ValueMember = "Description";

Sample:

http://www.syncfusion.com/support/user/uploads/GridControlDropDown_aaeeea46.zip

Please try this and let me know if ths helps.

Regards,
Jisha






Loader.
Live Chat Icon For mobile
Up arrow icon