Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Hiding/showing columns breaks sort arrows #48

Open
jacobweber opened this issue May 28, 2013 · 0 comments
Open

Hiding/showing columns breaks sort arrows #48

jacobweber opened this issue May 28, 2013 · 0 comments

Comments

@jacobweber
Copy link

  1. Load the "mvc" example.
  2. Click the first "Grid" tab.
  3. Click one of the headers, and the sort arrow will appear.
  4. Run this in the console:
var grid = Ext.ComponentQuery.query('grid-grid')[0];
grid.hideColumn(0);
grid.showColumn(0);
  1. The sort arrows are now gone. Even if you click the headers, they won't reappear.

I think this is because the column element is cached, but the header is re-drawn with new elements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant