1

I want to add a column 'company_seller_name' which is present in database custom table "abc_company" to Company Grid. Can someone please help me with this?

2 Answers 2

2

Hi Shweta Please check following link for enter link description here

Please let me know if you have any queries.

2
  • Hi, thankyou for your solution. What changes will be applicable in your code for "company" grid? The link you shared is for customer grid. Jul 8, 2020 at 5:00
  • Also , just like the customer grid uses "customer_grid_flat" table , what table does company grid use? Jul 8, 2020 at 5:04
0

Can you Please check this below link

https://www.codextblog.com/magento-2/how-to-add-a-custom-column-in-order-grid-in-magento-2/?unapproved=885&moderation-hash=bc29bcc57b29cf44a86bd104cf3b1374#comment-885

And after you change you code run

php bin/magento s:up

And any query let me know.

Thanks ...

9
  • Hi, thankyou for your solution. What changes will be applicable in your code for "company" grid? The link you shared is for order grid Jul 8, 2020 at 5:00
  • 1
    which are you want to show??? Jul 8, 2020 at 5:02
  • Just like the order grid uses "sales_order_grid" table , what table does company grid use? Jul 8, 2020 at 5:05
  • first i kindly suggest read above link. And Other for table you create custom table name is company_grid Jul 8, 2020 at 5:12
  • 1
    $table value is your default table value Jul 8, 2020 at 5:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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