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.

Select cell in Gridlistcontrol by keystroke

Thread ID:

Created:

Updated:

Platform:

Replies:

75283 Jul 18,2008 01:20 PM Jul 23,2008 07:34 AM Windows Forms 1
loading
Tags: GridControl
Edward Wilkerson
Asked On July 18, 2008 01:20 PM

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


Jisha Joy [Syncfusion]
Replied On July 23, 2008 07:34 AM


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






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.

;