Skip to content

Commit

Permalink
Merge pull request #4 from fruitcake/feature/noActionOnColumn
Browse files Browse the repository at this point in the history
Feature/no action on column
  • Loading branch information
lukelathouwers authored Aug 16, 2024
2 parents 6ef23ef + b75b302 commit 0499884
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions view/adminhtml/ui_component/customer_listing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,13 @@
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<columns name="customer_columns" class="Magento\Customer\Ui\Component\Listing\Columns">
<settings>
<editorConfig>
<param name="enabled" xsi:type="boolean">false</param>
</editorConfig>
<childDefaults>
<param name="fieldAction" xsi:type="array">
<item name="provider" xsi:type="string">customer_listing.customer_listing.customer_columns.actions</item>
<item name="target" xsi:type="string">applyAction</item>
<item name="params" xsi:type="array">
<item name="0" xsi:type="string">edit</item>
<item name="1" xsi:type="string">${ $.$data.rowIndex }</item>
</item>
</param>
</childDefaults>
</settings>
<column name="login_as_customer" class="Fruitcake\AlwaysLoginAsCustomer\Ui\Component\Listing\Column\LoginAsCustomer">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="sortOrder" xsi:type="number">90</item>
<item name="label" xsi:type="string" translate="true">Login as Customer</item>
<item name="bodyTmpl" xsi:type="string">ui/grid/cells/html</item>
<item name="fieldAction" xsi:type="boolean">false</item>
</item>
</argument>
</column>
Expand Down

0 comments on commit 0499884

Please sign in to comment.