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.

Combobox auto dropdown when cell clicked

Thread ID:

Created:

Updated:

Platform:

Replies:

116091 Apr 1,2014 01:21 AM Apr 8,2014 03:01 AM WPF 1
loading
Tags: SfDataGrid
Brett Klopfer
Asked On April 1, 2014 01:21 AM

Hi,

I'm using trying to use a GridMultiColumnDropDownList in an SfDataGrid.

Basically, I need to have a user be able to start typing directly into the cell (or click on the cell) and have the DDL automatically drop down. I have the datagrid EditTrigger property set to "OnTap" and NavigationMode="Cell". It works fine with a TextBox or any other control.

I also need to be able to define which columns are displayed in the DropDown.

Any ideas?


Jayapradha S [Syncfusion]
Replied On April 8, 2014 03:01 AM

Hi Brett, 

Thanks for using Syncfusion products. 

We analyzed your reported query. You can use SfMultiColumnsDropDownControl anyou can specify the API AllowImmediatePopup as TRUE.

This API enables you to open the popup when you start typing in that cell. 

And also you can specify the columns for dropdown by using the below code snippet and you need to disable AutoGenerateColumns as FALSE

Here with we have to define two columns for dropdown list.

Code Snippet:

<syncfusion:SfMultiColumnDropDownControl.Columns>

<syncfusion:GridTextColumn MappingName="Title" />

<syncfusion:GridTextColumn MappingName="Cast" />                   

</syncfusion:SfMultiColumnDropDownControl.Columns>

 

 Find the attached sample 

Please let us know if this helps you. 

 

Regards,

Jayapradha


Attachment: CS_cba42069.zip

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.

;