Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-marketplace-mod

    How To Use Grid Renderer In Magento 2

    How To Use Grid Renderer In Magento 2 : In this post, we will learn how to use grid renderer in magento 2 grid. it is quite simple to use renderer in grid. Please check the below code.

    1 => here i need a category name by a category id in a column


    In above code i have set renderer file path in renderer attribute in category_id column.

    2 => i have get the category name in renderer file , check the below code


    I got the category name in render function of MageCategoryName class and return it.

    Hope so it will help you 🙂

    Thanks

    . . .

    Comments (4)

    Add Your Comment

  • Zulqarnain Abdul Jabbar
    Very helpful blog. One problem is, search is not working with ‘Category Name’ column
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close