Magento 2 Custom Grid spinner loading does’t stop and grid data doesn’t display.

Magento admin grid with custom module loader display infinite and doesn’t stop in the grid page also none of the error display in the console.

This is a common error in module development and it’s a silly mistake to resolve the issue.

Recently I have faced this type of error on the admin panel with my custom module, On the Module grid page, the spinner loads infinitely without any grid display on the listing page.

I have just checked my custom module and found out the way to resolution.

I have a naming issue with the di.xml file collection argument value and the dataProvider name in the listing UI component file. Both names are mismatched and that keeps the loading infinitely. Continue reading “Magento 2 Custom Grid spinner loading does’t stop and grid data doesn’t display.”

How to set column as clickable in UI Column Component Listing Magento 2?

Ui component grid with Column Component implements the basic column in the listing.

Listing use column to display a list of different entities for the specific entity collection.

If you want to clickable link column from the available columns in the grid, You can do it using applied bodyTmpl options.

You have created a custom listing for the admin panel and one of the columns is Order Id and you want to clickable this column, Its possible using a UI Listing. Continue reading “How to set column as clickable in UI Column Component Listing Magento 2?”

How to remove input field from ui component form Magento 2?

You can remove any input field or components using <visible>false</visible> in the <settings> node of the fieldset in ui component form.

Let’s assume you have created a custom form component in the admin panel UI or want to remove an existing field from the UI component, create a form XML file with the given code snippet. Continue reading “How to remove input field from ui component form Magento 2?”