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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridMultiColumnDropDownList missing ItemsSourceSelector

Thread ID:

Created:

Updated:

Platform:

Replies:

145410 Jun 20,2019 09:27 AM UTC Jun 28,2019 10:48 AM UTC WPF 4
loading
Tags: SfDataGrid
Ondrej Svoboda
Asked On June 20, 2019 09:27 AM UTC

Hi,
I'm missing ItemsSourceSelector in GridMultiColumnDropDownList. I need to filter items source values based on some other row value. (something you have in your docs - filter cities by country).
Is there some other way how to do it?

Thanks
Ondřej Svoboda 

Shobika Palani [Syncfusion]
Replied On June 21, 2019 09:30 AM UTC

Hi Ondrej, 

Thank you for contacting Syncfusion Support. 

We have analyzed your query to have ItemsSourceSelector behavior for GridMultiDropDownList column type. Currrently we do not have support to achieve the behavior. We have already logged this requirement as a feature request to our database. You can now track the status of the reported feature with the below link 


Also we have scheduled this feature request to our upcoming release – 2019 Volume 2 which is expected to be available by end of June 2019.

Please let us know if you have any other questions on this.
 
 
Regards, 
Shobika. 


Ondrej Svoboda
Replied On June 21, 2019 11:02 AM UTC

OK, in the mean time I've solved it using advice provided here: https://www.syncfusion.com/forums/131482/how-to-correctly-manage-filtered-combo-boxes-on-sfdatagrid.

Jagadeesan Pichaimuthu [Syncfusion]
Replied On June 24, 2019 06:25 AM UTC

Hi Ondrej, 
 
Thanks for your update. 
 
As we promised earlier, we have scheduled this feature request to our upcoming release – 2019 Volume 2 which is expected to be available by end of June 2019. 
 
We appreciate your patience until then. 
 
Regards, 
Jagadeesan 


Farjana Parveen Ayubb [Syncfusion]
Replied On June 28, 2019 10:48 AM UTC

 Hi Ondrej,

We are glad to announce that our Essential Studio 2019 Volume 2 Beta Release version 17.2.0.28 is rolled out with the mentioned feature “ItemSourceSelector for GridMultiColumnDropDownList” and is available for download under the following link. 
  
Please refer the below code example and sample location, 
 
C#: 
    public class ItemsSourceSelector : IItemsSourceSelector 
    { 
        public IEnumerable GetItemsSource(object record, object dataContext) 
        { 
            if (record == null) 
                return null; 
  
            var orderinfo = record as OrderDetails; 
            var countryName = orderinfo.ShipCountry; 
  
            var viewModel = dataContext as ViewModel; 
  
            //Returns ShipCity collection based on ShipCountry. 
            if (viewModel.ShipCities.ContainsKey(countryName)) 
            { 
                ObservableCollection shipCities = null; 
                viewModel.ShipCities.TryGetValue(countryName, out shipCities); 
                return shipCities.ToList(); 
            } 
            return null; 
        } 
    } 
  
XAML: 
<Window.Resources> 
        <local:ItemsSourceSelector x:Key="itemSourceSelector" /> 
    Window.Resources> 
  
<syncfusion:GridMultiColumnDropDownList AllowEditing="True"  HeaderText="ShipCity" DisplayMember="ShipCityName" 
                                        ItemsSourceSelector="{StaticResource itemSourceSelector}" 
                                        MappingName="ShipCityID" ValueMember="ShipCityID"/> 
  
  
Note: This issue fix will be included in our main release as well, which is expected to be available by mid of July 2019. 
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards,
Farjana Parveen A 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon