display any attribute into product grid using below code

$productCollections = Mage::getModel('catalog/product')->getCollection();
        $productCollections->joinAttribute('name', 'catalog_product/name', 'entity_id', null, 'inner');
        $productCollections->joinAttribute('vendorcode', 'catalog_product/vendorcode', 'entity_id', null, 'inner');
        $productCollections->joinAttribute('price', 'catalog_product/price', 'entity_id', null, 'inner');

Comments