I was trying to add new class in Sales order grid in table rows based on some conditions in admin of Magento2 but I couldn't succeed.

Can anyone help me out how to do such thing?

please find attached screen shot for your reference:

enter image description here


1 Answer 1


I have override Magento backend theme and called my custom backend theme and added js with custom module to add new class.

  • @Teja , why you down vote my answer? Sep 22, 2018 at 6:45
  • Bhargav, Please help me with the same. Please share more info how did you resolve it? Apr 11, 2021 at 12:19

Your Answer

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

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