jQWidgets Forums

jQuery UI Widgets Forums Grid jgxGrid with AngularJs

This topic contains 2 replies, has 2 voices, and was last updated by  KBhima 8 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jgxGrid with AngularJs #85685

    KBhima
    Participant

    Hi, Am trying to create a grid using jqxgrid and angularjs, but I don’t see any grid created, any help is appreciated. Also I tried all the samples in jQWidgets Integration with AngularJS, but none of them worked for me. Could you please suggest the best editor where jqwidgets and angularjs go together.
    Below is my code:

    <script type=”text/javascript”>
    var demoApp = angular.module(“demoApp”, []);

    demoApp.controller(“demoController”, function ($scope) {
    $scope.person = [{
    id: 1,
    name: “John”
    }, {
    id: 2,
    name: “Joseph”
    }, {
    id: 3,
    name: “Mary”
    }, {
    id: 4,
    name: “Joe”
    }];

    $scope.settings = {
    altrows:true,
    width: 500,
    height: 300,
    source: $scope.person,
    columns: [
    { text: ‘personId’, dataField: ‘id’, width: 150}
    { text: ‘personName’, dataField: ‘name’, widht: 200}
    ]
    }
    });

    </script>
    </head>
    <body>
    <div ng-controller=”demoController”>
    <jqx-grid jqx-settings=”settings” ></jqx-grid>
    </div>

    </body>
    </html>

    jgxGrid with AngularJs #85696

    ivailo
    Participant

    Hi KBhima,

    Please refer to our AngularJS demo section.
    Here is one of the Grid demos.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    jgxGrid with AngularJs #85712

    KBhima
    Participant

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.