Dynamic values in MultiSelectComboBox filter row editor

Hi,

Is it possible to have dynamic values in MultiSelectComboBox filter row editor?

For example in the attached sample project if user first checks in country column filter "Mexico" then I would like to see in Customer name column filter only 3 available options (pre-filtered by country) not list of all users.

Regards

Ondřej Svoboda


Attachment: sample_f6160ce6.zip

2 Replies 1 reply marked as answer

SR Senthilkumar Ranganathan Syncfusion Team January 9, 2026 01:45 PM UTC

Hi Ondrej Svoboda,

We were able to replicate the reported scenario in your provided sample. We require additional time to explore the possibility of achieving your requirement. We will provide a further update by January 13, 2026.

Regards,
Senthilkumar Ranganathan.



SR Senthilkumar Ranganathan Syncfusion Team January 13, 2026 02:06 PM UTC

Hi Ondrej Svoboda,

We have reviewed your query, and based on your requirements, dynamic values in the MultiSelectComboBox filter row editor can be implemented by overriding the InitializeEditBinding method in the GridFilterRowMultiSelectRenderer class. When a filter is applied to the Country column (for example, selecting Mexico), the Customer Name column editor will populate only with the records currently displayed in the grid view, instead of showing all records.

Code Snippet to Display
Dynamic values in MultiSelectComboBox FilterRow Editor:
datagrid.FilterRowCellRenderers.Remove("MultiSelectComboBox");
datagrid.FilterRowCellRenderers.Add("MultiSelectComboBox", new DynamicMultiSelectRenderer());

public class DynamicMultiSelectRenderer : GridFilterRowMultiSelectRenderer
{
    protected override void InitializeEditBinding(ComboBoxAdv uiElement, DataColumnBase dataColumn)
    {
      -----------------Code Changes-------------------------

        uiElement.ItemsSource = itemsCollections;

      -----------------Code Changes-------------------------

    }
}

Gif Illustration:



Please find the sample demo in the attachment.

Regards,
Senthilkumar Ranganathan.

Attachment: SfDataGrid_Demo_99e6f10a.zip

Marked as answer
Loader.
Up arrow icon