Skip to content

Script error when setting columns property of a Table element #561

@gjsjohnmurray

Description

@gjsjohnmurray
bundled.js:2511 Uncaught TypeError: e.filter is not a function
    at Xi._calcColWidthPercentages (bundled.js:2511:3619)
    at Xi._initDefaultColumnSizes (bundled.js:2511:4213)
    at set columns (bundled.js:2511:1684)
    at Xi.set [as columns] (bundled.js:1:2407)
    at loaderScript.js:48:23
_calcColWidthPercentages @ bundled.js:2511
_initDefaultColumnSizes @ bundled.js:2511
set columns @ bundled.js:2511
set @ bundled.js:1
(anonymous) @ loaderScript.js:48

In this case my table had 3 columns and my script was doing this:

tblColumns.columns = '["auto", "auto", "auto"]';

I am using v2.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions