2

Columns in magento 2 has item sort order:

<item name="sortOrder" xsi:type="number">44</item>

But it doesn't change the column order. What need I to do to change columns order?

0

Since you can edit the sort order by drag and drop, the current sort order of the listing columns is cached in the browsers local storage.

You can refresh it by deleting the key appData in the local storage and then reload the page.

In Google Chrome you find the local storage Data in the dev console (F12) under Resources -> Local Storage -> http://your.domain

  • Yes, I can edit the sort order by drag and drop. I deleted all from local storage, clear cache in magento, reload the page but sort order is the same :( – Roma Kis Mar 7 '16 at 15:17
0

You need to clear down the ui_bookmark table in your database as it caches the sort order of the grid columns.

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.