Magento 2 Admin Grid – Remove SelectionsColumn from Columns Dropdown

admincustomgridmagento2uicomponent

In my custom admin grid I have checkboxes , I added them like this:

<selectionsColumn name="ids">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="indexField" xsi:type="string">transaction_id</item>
            </item>
        </argument>
</selectionsColumn>

And now there is an item for this column in "Columns dropdown" with empty label:
enter image description here

How can I remove it from this dropdown?

Best Answer

it disappeared after I removed this line from my grid xml

 <item name="controlVisibility" xsi:type="boolean">true</item>

which was located inside "columns" and then "argument" tags

Related Topic