FixedColumn problem with pagination (serverSide:true)

FixedColumn problem with pagination (serverSide:true)

brycebreedsbrycebreeds Posts: 1Questions: 1Answers: 0
edited May 8 in Free community support

datatables.min.js:16 Uncaught TypeError: Cannot read properties of undefined (reading 'anCells')

this is the error received when paging to page 2 on my table. Unfortunately i cannot post links to my table.

is this a know problem? can it be investigated?

Answers

  • kthorngrenkthorngren Posts: 21,132Questions: 26Answers: 4,918

    I was able to replicate the issue with this test case:
    https://live.datatables.net/yaroyala/4/edit

    @allan will need to take a look.

    Kevin

  • Charles_KBCharles_KB Posts: 1Questions: 0Answers: 0

    Hello I have the exact same issue when paging to page 2 :

    • fixedColumns are not fixed anymore
    • this error shows in console

    package.json :

    "dependencies": {
        "@eonasdan/tempus-dominus": "^6.9.5",
        "@popperjs/core": "^2.11.8",
        "autonumeric": "^4.10",
        "bootstrap": "^5.3",
        "bootstrap-icons": "^1.11",
        "datatables.net-fixedcolumns-bs5": "^5.0.0",
        "dropzone": "^5.5",
        "jquery": "^3.7",
        "jquery.scrollto": "^2.1",
        "tom-select": "^2.3.1"
    },
    "devDependencies": {
        "@symfony/webpack-encore": "^1.7.0",
        "@types/bootstrap": "^5.2.10",
        "@types/jquery": "^3.5.29",
        "@types/jquery-migrate": "^3.3.3",
        "core-js": "^3.0.0",
        "eslint": "^8.0.1",
        "eslint-config-standard": "^17.1.0",
        "eslint-plugin-import": "^2.25.2",
        "eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
        "eslint-plugin-promise": "^6.0.0",
        "file-loader": "6.0.0",
        "jquery-migrate": "^3.4.1",
        "postcss": "^8.4.29",
        "regenerator-runtime": "^0.13.2",
        "sass": "^1.72.0",
        "sass-loader": "^12.0.0",
        "stylelint": "^16.3",
        "stylelint-config-standard": "^36.0",
        "stylelint-config-standard-scss": "^13.0.0",
        "stylelint-scss": "^6.2.1",
        "ts-loader": "^9.0.0",
        "typescript": "^5.4.2",
        "typescript-eslint": "^7.2.0",
        "webpack-notifier": "^1.6.0"
    },
    

    Thanks for your help

    Charles

  • allanallan Posts: 63,140Questions: 1Answers: 10,400 Site admin

    If you update to DataTables 2.0.8 the issue should now be resolved.

    Allan

Sign In or Register to comment.