Wijmo Update causes Build Errors

Posted by: peter_murray on 18 November 2019, 11:41 am EST

    • Post Options:
    • Link

    Posted 18 November 2019, 11:41 am EST

    Hello,

    We recently updated our version of wijmo from v5.20183.550 to v5.20192.631 and we’re seeing some errors on our build machine that we can’t explain, listed below in bold with where they’re happening in code.

    Property '_data' is private and only accessible within class 'Row'.
    let selectedIds = [];
    for (let i = 0; i < this.flex.selectedRows.length; i++)
    {
    	[b]selectedIds.push(this.flex.selectedRows[i]._data.id);[/b]
    }
    
    Type 'false' is not assignable to type 'AllowSorting'.
    [b]this.allowSorting = false;[/b]
    

    The second error is in a class that extends the WjFlexGrid class.

    Are these build errors being caused by the update to the newer version of wijmo?

    Thanks!

  • Posted 18 November 2019, 11:53 am EST

    Looks like the lines I hoped would be bolded are not, so the lines in question are the statement within the for loop for the first error, and the assignment in the second error.

  • Posted 18 November 2019, 11:28 pm EST

    Hi Peter,

    We are sorry for the inconvenience, this is a breaking change because of adding the MultiColumn Sorting in the 2019v3 release(latest). Now, allowSorting property for FlexGrid accepts AllowSorting enum.

    Please refer to the 2019v3 release blog to check out all-new features:

    https://www.grapecity.com/blogs/wijmo-release-2019-v3

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels