1

I want to know the differece of the multiple ways we can create an admin grid in Magento 2.

Some people says that the best way is with the php, because is the best to debug, but i find more responses that are only in xml that it make me think that it's the best way.

In this page i see different ways

and which is the best and what is the difference ?

UPDATE

I see most of people use the uicomponent. It's better solution?

asked Feb 13, 2017 at 8:48

1 Answer 1

1

That is depend on the requirement

If you need column visibility adjustable using column control and filter in separate dropdown rather than in grid and also search by keyword functionality then ui-component is better solution for this.

If you need to show only data without any search and any other operation on grid then simple php grid is better for it.

answered Feb 13, 2017 at 9:46

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.