cancel
Showing results for 
Search instead for 
Did you mean: 

decorateTable function gone in Magento2?

decorateTable function gone in Magento2?

In magento1 there was a function called decorateTable()  that could be called from a phtml file and used to format attribute tables. Specifically it added classes even, odd, and last to tr dom elements, which could them easily be styled using css. 

 

Is there a similar function in magento 2?

1 REPLY

Re: decorateTable function gone in Magento2?

Topic moved to the Magento 2 sectionSmiley Happy

James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips