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?

2 Answers 2

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

1
  • 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 :( Commented Mar 7, 2016 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 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.