GithubHelp home page GithubHelp logo

Comments (18)

illuusio avatar illuusio commented on June 20, 2024

Please make more informative why I should do that or PR with more description

from jscrollpane.

alexeylepesin avatar alexeylepesin commented on June 20, 2024

Hello.
I'm sorry, I had in mind the line 184 (pane.css ('width', '');) should be placed to line 162

pane.css('width', '');

In this case, the element will again have the same dimensions as before the initialization.

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

Is there possibility to make PR so I can see all needed actions and some test case?

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

Actually it's all ready done in line 156 and line 184 should be removed altogether.

from jscrollpane.

alexeylepesin avatar alexeylepesin commented on June 20, 2024

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.

illuusio avatar illuusio commented on June 20, 2024

Thank you very much! excellent example. I take a look at this.

from jscrollpane.

alexeylepesin avatar alexeylepesin commented on June 20, 2024

You are welcome.
I'm not strong in English, could you explain what the PR means?

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

Sorry it's PR is Pull Request.

from jscrollpane.

alexeylepesin avatar alexeylepesin commented on June 20, 2024

Thanks

from jscrollpane.

pgroot91 avatar pgroot91 commented on June 20, 2024

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.

illuusio avatar illuusio commented on June 20, 2024

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.

illuusio avatar illuusio commented on June 20, 2024

Have new version made any progress on this?

from jscrollpane.

RajuTicvic avatar RajuTicvic commented on June 20, 2024

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 .
scr1

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

@RajuTicvic does commented fix your situation?

from jscrollpane.

RajuTicvic avatar RajuTicvic commented on June 20, 2024

Which comments

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

This first one which @alexeylepesin tells you to change place in code or is your problem a new Issue?

from jscrollpane.

RajuTicvic avatar RajuTicvic commented on June 20, 2024

No

from jscrollpane.

illuusio avatar illuusio commented on June 20, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.