aurelia-v-grid / vGrid

Aurelia-v-grid - npm source
MIT License
49 stars 10 forks source link

selecting "enable resizable headers" when horizontally scrolled messes up header to column alignment. #9

Closed Vaccano closed 8 years ago

Vaccano commented 8 years ago

Repro:

  1. Load the demo and press "get all"
  2. Enable resizable headers
  3. Resize a few headers so that the horizontal scroll bar appears.
  4. Scroll right (so that you cannot see the index column)
  5. Press "enable resizable columns" (or disable resizeable columns) Result: The headers all resize to fit the width on screen, not logical width that the scroll bar goes to.
vegarringdal commented 8 years ago

thx, I should test if resizable headers is active first. reason for the bug is that I rebuild the header when activating it should be a pretty easy fix

vegarringdal commented 8 years ago

Need to check if content.scrollLeft is changed for all options that changed header options,