You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to change the width of a column the header view grows and shrinks erratically. After investigating it appears the event.pageX value used the first time SC.TableHeaderView:mouseDragged() is called is undefined causing the newWidth calculation to generate erratic values.
This can be solved by saving the X position in the mouseDown() function then checking the event.pageX for undefined in mouseDragged(). If so use the saved X position.
The text was updated successfully, but these errors were encountered:
When attempting to change the width of a column the header view grows and shrinks erratically. After investigating it appears the event.pageX value used the first time SC.TableHeaderView:mouseDragged() is called is undefined causing the newWidth calculation to generate erratic values.
This can be solved by saving the X position in the mouseDown() function then checking the event.pageX for undefined in mouseDragged(). If so use the saved X position.
The text was updated successfully, but these errors were encountered: