Home » Archive

Articles tagged with: grid

Magento »

[2 May 2017 | No Comment]

This article shows how you can add new columns to product grid (Catalog -> Manage Products) in Magento 1.x admin.
For this, you need to rewrite/override the Adminhtml’s catalog_product_grid block class.

Magento »

[25 Apr 2017 | No Comment]

This article shows how you can add new column to customer grid in Magento 1.x admin. In this example, we will be adding a fetching the fax field value from customer’s billing address and showing in the customer grid in Magento admin.
For this, you need to rewrite/override the Adminhtml’s customer_grid block class.

Magento »

[18 Apr 2017 | No Comment]

This article shows how you can add new columns to sales order grid in Magento 1.x admin.
For this, you need to rewrite/override the Adminhtml’s sales_order_gird block class.
Here is the block override code to be written in your module’s config.xml file:

Magento »

[10 Sep 2016 | One Comment]

This article shows, how you can add a new column at the end of the admin grid or after any column of the admin grid in Magento 1.x.
Suppose, you have a custom module and you need to add a column to product grid or order grid, etc. For this, you need to rewrite that particular grid block with your custom module’s block grid class.

Magento »

[2 Jan 2016 | No Comment]

By default, Magento allows maximum of 200 items to be viewed at a time in admin grid. Admin grid pagination contains maximum of 200 items in a single page.

Magento »

[13 Jul 2015 | No Comment]

Here is a quick tip to hide any column from admin grid in Magento. Hiding columns in admin grid becomes necessary when you want those particular columns in exported csv or xml file but you don’t want to display them in the admin grid.
You can hide columns from admin grid by setting column_css_class and header_css_class as no-display to the column you want to hide in the addColumn function. This will hide your column from the admin grid. However, this column will be present when you export the grid data …

Magento »

[4 Apr 2011 | 9 Comments]

Case:
Here, I am taking the scenario of a custom Magento module. You are developing a custom Magento module and you don’t want to show the ‘Add New’ button in the Grid. The Add New button is present in top right corner of Grid Page.
Rename ‘Add New’ button

Magento »

[9 Feb 2011 | 10 Comments]

Suppose you have a multi select attribute and you have displayed it in admin grid. You have displayed the multi select attribute options as selection list. Now, you want to filter/search the grid by the multiselect attribute.
The problem here is that the multiselect attribute value is store as comma separated value in database. When we send single value from the selection list, the filter doesn’t work properly.

Magento »

[23 Nov 2009 | 6 Comments]

You can choose the Catalog view option as grid only or list only. The default is Grid/List. You can change it to List/Grid as well.
To do so: