forked from tonytomov/jqGrid
-
Notifications
You must be signed in to change notification settings - Fork 195
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
setGridWidth & minColWidth #506
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everybody!
I resize my grid when its bootstrap container size is changing by using :
$(window).bind('resize', function () { let col = theGrid.closest(".row").children().first(); theGrid.jqGrid("setGridWidth", col.width()); }).trigger('resize');
Maybe there is a smarter way, but I'm not a js/css expert. So please feel free to tell me a better way if so ;-)
Some columns are not fixed and should have a min width. I found
autoResizing: { minColWidth: 200 }
inside colModel, but this does not seem to be respected inside setGridWidth.What could I do to make this work?
Thx,
Sebastian
The text was updated successfully, but these errors were encountered: