1

Sometime i want to create a grid in backend like the way in magento 1. Should i use that way or complete move to ui way? I heard somewhere that old way soon will deprecated! Is it right

1 Answer 1

2

The Magento 1 way of creating a grid class and defining the columns and collection within that is still possible, but not recommended. Best practice is to use a UI Component. Do things right.

Magento will be moving all core grids to UI components over time; they've changed a lot of them already in the recently-released 2.1.

See here for an extensive walkthrough of creating a custom grid via UI components: https://magento.stackexchange.com/a/97891/1905

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.