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. Image for the cookie policy date

Column Chooser custom validation to [showInColumnChooser]="false"

I'm using the column chooser and I want the actions column to be fixed, but to deselect I want it to be mandatory that some column is checked.

(in this image below it is possible to apply the changes, despite the cursor not having appeared in the print)

And I need the changes to be applicable from at least 1 selected column like image below. So that the actions column is always visible, but not the only one on the screen.

How can I change the button validation to be at least 2 fields? Remembering that I'm using the [showInColumnChooser]="false" property on the "Actions" column.

1 Reply

PS Pavithra Subramaniyam Syncfusion Team May 4, 2023 10:31 AM UTC

Hi Fernando Pestillo,

By default, while setting the “showInColumnChooser” property as false, the corresponding column will not be shown in the column chooser pop up. So, for better understanding, could you please share the below details which will be helpful for us to provide a better solution as early as possible.

  1. Do you want to show the “Action” column name in the column chooser?
  2. Do you want to have at least 2 visible columns from the column chooser selection?
  3. Or do you want to disable the selection/deselection of the “Action” column from the column chooser popup?


Pavithra S

Live Chat Icon For mobile
Up arrow icon