-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number setting for colWidths not work #947
Comments
Please note, that
If you have any further questions, feel free to reopen this issue. |
Thanks, please fix the wrong comments "//can also be a number or a function" in http://handsontable.com/demo/fixed.html I copied the example code to my application and found it not works... |
Thanks for pointing this out and sorry for misleading comments. I've already corrected the fixed.html example. |
I think there is one more page containing the comment "//can also be a number or a function" at http://handsontable.com/demo/scroll.html - thought I'd bring it to your attention so it can be updated too. |
As a side feature I just added possibility to use a number for |
If set colWidths to a number instead array or function, the column width will always set to default value (50), the setting will not work.
Refer to http://jsfiddle.net/aTtmT/
Add lines below into implementation of "this._getColWidthFromSettings" can fix this problem (for version 0.9.11):
The text was updated successfully, but these errors were encountered: