ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: dagarwal on October 04, 2016, 11:26:14 pm

Title: How to hide paramquery horizontan scrollbar and show browser scrollbar
Post 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.
Title: Re: How to hide paramquery horizontan scrollbar and show browser scrollbar
Post by: paramvir on October 04, 2016, 11:38:01 pm
Please use width: 'flex'
Title: Re: How to hide paramquery horizontan scrollbar and show browser scrollbar
Post by: dagarwal on October 06, 2016, 06:12:34 pm
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
Title: Re: How to hide paramquery horizontan scrollbar and show browser scrollbar
Post by: paramvir on January 16, 2024, 11:45:42 am
Toggle the grid width between 'flex' and 'auto' depending upon the number of columns.