Customizing Column Chooser with Additional Dropdown for Views

Hello all,

We are planning to use the Column Chooser component within the Syncfusion Grid, but we need to extend its functionality. Specifically, we want to add a dropdown for "View" selection at the top of the search box. This dropdown will allow users to select a view (e.g., V1), and based on the selected view, only the columns mapped to that view should be selectable in the Column Chooser.

To achieve this, I have explored an approach where I use the e-ccdlg class to customize the Column Chooser and add the dropdown. However, I would like to confirm:

  1. Is this a recommended approach?
  2. Is there any possibility that the e-ccdlg class might be renamed or modified in future Syncfusion updates? If so, what would be the best way to ensure a stable customization?



1 Reply

DM Dineshnarasimman Muthu Syncfusion Team March 24, 2025 03:34 AM UTC

Hi Rahul,


Greetings from Syncfusion Support.


We have reviewed your query and understand that you want to render a dropdown component inside the Column Chooser instead of the default input element. Additionally, you need the Column Chooser items to be dynamically selected based on the selected value in the dropdown.


We would like to tell you that currently, the EJ2 Syncfusion Grid does not support rendering custom components within the Column Chooser. Even if we manage to render a dropdown list inside the Column Chooser, dynamically selecting its items based on the dropdown selection is not feasible.


Regards,

Dineshnarasimman M


Loader.
Up arrow icon