2

I found this page on magento2 documentation and I am trying to do a row sorting by a field named position like this image in the link: enter image description here

Thanks you in advance for your help.

0

in your DataProvider Class in charge to give you all the data (I assume you have already it), you need to sort your collection like $myCollection->setOrder('my_position','ASC')->getItems() Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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