I’m new to magento and trying to add a checkbox column onto the url rewrites page for via extending the vendor module magento-url-rewrite using the xml file adminhtml_url_rewrite_index.xml.
I’ve added in the select column through the following code. Any help would be really appreciated
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="adminhtml.url_rewrite.grid.columnSet">
<block class="MagentoBackendBlockWidgetGridColumn" name="adminhtml.url_rewrite.grid.columnSet.url_rewrite_checkbox" as="url_rewrite_checkbox">
<arguments>
<argument name="header" xsi:type="string" translate="true">Select</argument>
<argument name="sortable" xsi:type="string">0</argument>
<argument name="filter" xsi:type="string">0</argument>
<argument name="type" xsi:type="string">action</argument>
<argument name="id" xsi:type="string">actions</argument>
<argument name="index" xsi:type="string">url_rewrite_id</argument>
<argument name="actions" xsi:type="array">
<item name="checkbox_field" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/boolean</item>
</item>
</argument>
</arguments>
</block>
</referenceBlock>
</body>