jQWidgets Forums

jQuery UI Widgets Forums Plugins AngularJS AngularJS error on destroy chart widget

Tagged: ,

This topic contains 17 replies, has 3 voices, and was last updated by  Peter Stoev 10 years, 5 months ago.

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
  • AngularJS error on destroy chart widget #63781

    Tyl
    Participant

    Hi Peter,

    I was about to do it when I saw the breaking change regarding jqxData.
    I don’t know how much code I will have to modify to make it work with this new version.

    I will try anyway, I will easily downgrade to V3.5 if I need.

    AngularJS error on destroy chart widget #63901

    Tyl
    Participant

    Hi Peter,

    I downloaded the v3.6.0 version and the “destroy” error disappeared when I leave the route containing the charts.
    But the upgrade has side effects on my jqx-grids.
    I now have infinite digests loops detected by angular when the jqx-grid appears:
    “Error: error:infdig
    Infinite $digest Loop”

    I use the jqx-grid with jqx-create and jqx-settings attributes:
    <jqx-grid jqx-create=”createGrid” jqx-settings=”gridSettings”></jqx-grid>

    And I use this code to update my grid :
    var source = {
    datatype: ‘json’,
    localdata: $scope.predefinedPaths,
    id: ‘ID’,
    datafields: [
    { name: ‘ID’, type: ‘integer’},
    { name: ‘Name’, type: ‘string’},
    { name: ‘Path’, type: ‘string’},
    ]
    };
    var dataAdapter = new $.jqx.dataAdapter(source, { async: false, autoBind: true});
    $scope.gridSettings.source = dataAdapter;

    I use the last 1.2.27 version of angular.
    My problem may be the same than in the post:
    http://www.jqwidgets.com/community/topic/jqx-grid-angular-integration-problems/

    AngularJS error on destroy chart widget #63905

    Peter Stoev
    Keymaster

    Hi Tyl,

    The provided information is insufficient for reproducing anything.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.