Comments (18)
Please make more informative why I should do that or PR with more description
from jscrollpane.
Hello.
I'm sorry, I had in mind the line 184 (pane.css ('width', '');) should be placed to line 162
jScrollPane/script/jquery.jscrollpane.js
Line 184 in ae5dc1e
In this case, the element will again have the same dimensions as before the initialization.
from jscrollpane.
Is there possibility to make PR so I can see all needed actions and some test case?
from jscrollpane.
Actually it's all ready done in line 156 and line 184 should be removed altogether.
from jscrollpane.
Hello, sorry, I did not answer for a long time.
TEST CASE (tested on google chrome):
https://jsfiddle.net/0bmjz0zs/6/
1. click on "Run scroller"
the width of the .jspPane element 356px
table width 354px
2. delete one or more columns by clicking on the "Remove a column"
3. click on "Update scroller"
the width of the .jspPane element has not changed and is still 356px
table width after removing 1 column 284px, after removing 2 columns - 214px
The width of the .jspPane must match the width of the table.
I'm a bit inaccurate in describing the problem. I am using your library in my application twice: for the BODY element and for the container for TABLE. After manipulating TABLE and reinitializing both scrollers, the height of the BODY element has an incorrect height, although the cause is in the wrong width of the container for TABLE.
from jscrollpane.
Thank you very much! excellent example. I take a look at this.
from jscrollpane.
You are welcome.
I'm not strong in English, could you explain what the PR means?
from jscrollpane.
Sorry it's PR is Pull Request.
from jscrollpane.
Thanks
from jscrollpane.
I have a simular issue with de height of the container when implementing live search when rows disappear! Any ideas on how to fix this?
from jscrollpane.
As my time is limited you can audit that test case if it's the same as yours. If it's not you can submit small example how you example is different
from jscrollpane.
Have new version made any progress on this?
from jscrollpane.
Hello @vitch ,
I'm using your jsscrollpane, it is very useful to me. i struck in one place so please help me FIX IT.
i want table header fixed when scroll vertically and when i scroll horizontal it will be better work as normal scroller .
from jscrollpane.
@RajuTicvic does commented fix your situation?
from jscrollpane.
Which comments
from jscrollpane.
This first one which @alexeylepesin tells you to change place in code or is your problem a new Issue?
from jscrollpane.
No
from jscrollpane.
@RajuTicvic Actually your request doesn't have anything to do with jScrollPane as it's purpose is only to 'skin' your scrollbars not alter how HTML tables work.
from jscrollpane.
Related Issues (20)
- main prop removed from package.json -> Build failed HOT 9
- Line with console.log HOT 9
- archive project / search for maintainers HOT 6
- reinitialise method: do not always apply new options HOT 1
- Improvement: pause and resume methods HOT 2
- Broken after updating from 2.0.22 to 2.1.2: jScrollPane is not a function (npm, webpack) HOT 29
- NPM shows rc releases tagged as "latest" HOT 2
- Focus on a input in a table will cause auto scrolling to top under jQuery 3 HOT 10
- Missing kinetic scroll on touch devices HOT 9
- Scrollpane is jumping to bottom HOT 2
- Console error in jquery when use cursor keys HOT 8
- When using stickToBottom and alwaysShowVScroll it does not start by sticking HOT 5
- How to get jScrollPane from node_modules HOT 1
- Jquery 3.5.0 Security Fix Closing HTML Tags HOT 4
- Jquery 4.0: Use of number-typed values is deprecated HOT 4
- click don't work after JScrollPane and Ajax HOT 10
- Error in jScrollPane - v2.2.3-rc.1 - jquery.jscrollpane.js HOT 3
- Still "border-box" problem HOT 3
- jScrollPane loads its own jQuery when used in webpack HOT 1
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 jscrollpane.