Comments (6)
Working on it.
from slickgrid.
This turned out to be much messier than I thought.
I can make it recognize when scroll bars are not needed and make it available, that's easy. But to make it right, I wanted to have it work with autosize (forceFitColumns) correctly. Doing that would require calling autosize each time the number of rows changes, but doing it would be way to slow (imagine that in the model example).
from slickgrid.
I'm seeing a scrollbar-width offset on the right, but it appears when the scrollbar is present (and the scrollbar is always present, but disabled when there aren't enough rows). Is this the same bug or something else? I see it in Firefox and Safari on OS X.
from slickgrid.
Yes this is the same bug/feature.
from slickgrid.
I think this can be done with your initial approach of determining when scrollbars are visible based on row count & scroller height. I don't think it would be too slow since you only have to call autosize when when the scrollbar visibility changes, not on every row count change.
If you still think it would be too slow, you can make it optional (add an "automaticScrollbarVisibility" option) for users who know their row count will not fluctuate too much.
from slickgrid.
this has been implemented some time ago
from slickgrid.
Related Issues (20)
- How to add connecting line in tree view
- 슭릵긋맇듯 씄긲 덥럽겝 엏렵넿 HOT 4
- SlickGrid autoHeight removes horizontal scrollbars with Frozen columns and column grouping
- Single Select - Dropdown is appearing for multiple times on Cell click HOT 1
- How to check the API DOC for 2.1 version?
- Add option to display big numbers with K, M, and B to drop lots of 0's HOT 1
- How to get Column checkboxes count on the page?
- How to freeze a last column in the angular slick grid HOT 1
- How to change style when find value in slickgrid HOT 1
- Filtering rows containing NaN's HOT 1
- Display of items-per-page-label in Grid with pagniation HOT 1
- Is there any plan to have some kind of Blazor wrapper for slickgrid? HOT 1
- slickgrid event drag support for jquery > 3.0 HOT 9
- Different row Height HOT 1
- solve Succession with C# HOT 4
- Slick.grid.js version 2.2 is not giving correct results after i update my Jquery library to latest version 3.6.0 HOT 1
- . HOT 3
- How to resize a single row in Qgrid and add 2 line texts? HOT 1
- It is recommended that we replace VTable, this project should not be maintained
- The highest security compatibility of Content Security Policy(CSP)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slickgrid.