Giter VIP home page Giter VIP logo

Comments (11)

KamranAsif avatar KamranAsif commented on July 4, 2024

We don't support native filtering or sorting. Where are you seeing this error?
Please provide a jsfiddle to reproduce this issue. You can fork: https://jsfiddle.net/uq8osbp1/

from fixed-data-table-2.

wcjordan avatar wcjordan commented on July 4, 2024

Are you able to see the errors here? If not then the issue may be something related to React 15.3.0. Could you try 15.1.0 and see if it works around the issue temporarily?

from fixed-data-table-2.

dspoonia7 avatar dspoonia7 commented on July 4, 2024

@wcjordan That doesn't help. On filter search, I am still getting

Uncaught Error: Invariant Violation: Index out of range 0

But on sorting it started throwing (might be multiple react copies issue)

Uncaught TypeError: Cannot read property 'releaseMouseMoves' of undefined

Here is my code

and package.json

  "dependencies": {
    "babel-plugin-transform-class-properties": "^6.11.5",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-preset-es2015": "^6.9.0",
    "babelify": "^7.3.0",
    "browserify": "^13.1.0",
    "browserify-incremental": "^3.1.1",
    "fixed-data-table-2": "^0.7.2",
    "jquery": "^3.1.0",
    "jquery-ujs": "^1.2.1",
    "react": "^15.1.0",
    "react-dom": "^15.1.0"
  },
  "devDependencies": {
    "babel-polyfill": "^6.13.0",
    "babel-preset-es2015": "^6.6.0",
    "babel-preset-react": "^6.11.1",
    "babel-preset-stage-2": "^6.13.0"
  },

from fixed-data-table-2.

wcjordan avatar wcjordan commented on July 4, 2024

Interesting, were you able to see the same issue on the hosted demos I linked?

from fixed-data-table-2.

wcjordan avatar wcjordan commented on July 4, 2024

Would it be possible to create a github repo which reproduces your issue? That will make it easier to investigate and debug.

from fixed-data-table-2.

dspoonia7 avatar dspoonia7 commented on July 4, 2024

@KamranAsif @wcjordan Here is the fiddle with the issue.
Fix column is also not working.

from fixed-data-table-2.

wcjordan avatar wcjordan commented on July 4, 2024

It seems your fiddle has a few issues. this._dataList and this._defaultSortIndexes become out of date in DataTable since they are not updated in componentWillReceiveProps. I was able to fix that, but then started seeing undefineds in DateCell. Could you investigate and let us know when the bugs are worked out?

from fixed-data-table-2.

dspoonia7 avatar dspoonia7 commented on July 4, 2024

Thanks guys, I fixed all the issues in the fiddle at least. updated fiddle.

But in my local i am still getting this error sometimes

Uncaught TypeError: Cannot read property 'releaseMouseMoves' of undefined

from fixed-data-table-2.

KamranAsif avatar KamranAsif commented on July 4, 2024

How are you reproducing that releaseMouseMoves? I tried playing around with it but I'm not seeing any error.

What browser are you using?

from fixed-data-table-2.

dspoonia7 avatar dspoonia7 commented on July 4, 2024

Yes there is no issue in fiddle, it is working alright.

I am getting that error in my local system . I am using Chrome and I have setup rails-react-browserify.

One more issue, I have added React Developer Tools extension in my browser. With this extension everything is working fine but on removing/disabling this extension, I am getting this error (and page is rendering totaly blank)

Uncaught RangeError: Maximum call stack size exceeded

No clue what is happening here :(

from fixed-data-table-2.

KamranAsif avatar KamranAsif commented on July 4, 2024

Don't think we can help you there since its not related to FDT.
I'm going to close this issue, but if you can get it reproducible on a fiddle, feel free to re-open it.

from fixed-data-table-2.

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.