Title: Automatic scrollbar show / hide in datagrid when needed Post by: Ellipsis on January 24, 2013, 03:39:24 AM The available space on the user screen is valuable (screenestate), but we lose space because of the annoying reserved space for a scrollbar.
When using pagination the scrollbar should disappear (fitcolumns: true), but this always shows the pagination footer. One of the grids we created is very small (two columns) and therefore the pagination footer doesn't fit. So we have multiple 'conflicts' - pagination footer does not fit - pagination footer is not needed when displaying page 1 of 1. - autohide scrollbar reserved space without pagination possible? Title: Re: Automatic scrollbar show / hide in datagrid when needed Post by: Ellipsis on February 18, 2013, 01:12:26 PM Anyone?!
Title: Re: Automatic scrollbar show / hide in datagrid when needed Post by: mzeddd on February 19, 2013, 02:37:42 AM Can you give an example?
In my case it shows scrollbars only when it is needed Title: Re: Automatic scrollbar show / hide in datagrid when needed Post by: Ellipsis on February 21, 2013, 03:33:28 AM When you set a specific height (higher then needed for content), you get this:
http://jsfiddle.net/g3sVm/17/ (http://jsfiddle.net/g3sVm/17/) The height is set because we have multiple datagrids on a single row. It looks better if these are the same height. At the moment the height is calculated when the datagrid is initialized (not in the example) Title: Re: Automatic scrollbar show / hide in datagrid when needed Post by: Ellipsis on March 01, 2013, 12:11:52 AM Nobody has the same result as the example.
|