ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: dagarwal on October 04, 2016, 11:26:14 pm
-
I want to show scrollbar rather than paramquery grid scrollbar if columns is not fitting on screen width.
-
Please use width: 'flex'
-
I am using width:flex and it is creating browser scrollbar when no of columns is high. This is right. when no of columns is less, grid width decreases less than browser width and grid is not using full browser width.
Requirement : if no of columns is less, then grid must use browser width and visible in full width of browser and if no of columns is high, then scrollbar visible.
I tried to use minWidth: jQuery("window").width() with width:flex but not working.
What is solution
-
Toggle the grid width between 'flex' and 'auto' depending upon the number of columns.