0

How to change text in Product grid if any product not found. I have attached this in custom module and now want to change text according to my need.

enter image description here

0

In your module you need create

Vendor\Module\view\adminhtml\layout\adminhtml_integration_grid_block.xml

And put this inside

<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
      <referenceBlock name="integration.grid.columnSet">
        <arguments>
          <argument name="empty_text" xsi:type="string">Your text</argument>
        </arguments>
      </referenceBlock>
    </body>
</page>
| improve this answer | |
  • its not working. – sudo55 Feb 13 '19 at 13:19
  • changed block name. try now – Serhii Havrylchuk Feb 13 '19 at 13:22
  • i have created this grid in form using Ui component, where i would add this lines? – sudo55 Feb 13 '19 at 16:32
  • In ui components you cann`t set this You need create this layout – Serhii Havrylchuk Feb 13 '19 at 16:35
  • look here i.imgur.com/dgVMBvm.png this is how i created my form and then this is how i attachd the grid i.imgur.com/8TjfZPc.png – sudo55 Feb 13 '19 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.