Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Not able to bind crm fetch data in html table

Posted on by 140

Hi All,

My query is  i need to display crm fetch record in html table.

for achieve this requirement i create one html page  in that page one table is available, in that table i need to display multiple entity record. which i already get form fetch xml but when i try to bind this data with table using jq grid,

it display me error $ is undefined.

i have already added all the references related to jqgrid in html page as well as crm server.

Can some one help me regarding this. using any example.

Regards,

Jyotsna

*This post is locked for comments

  • RE: Not able to bind crm fetch data in html table

    Hi Sandeep,

    i agree with you, crm does not support '-' i first rename that file then add in crm as well as visual studio.

    so can you explain me with  example for use fetch data in jqgrid.

    because i need that data in html table.

    Regards,

    Jyotsna

  • Suggested answer
    sandeepstw Profile Picture
    sandeepstw 4,601 on at
    RE: Not able to bind crm fetch data in html table

    Hi

    you should use no Conflict when you load your jQuery library, please check this post

    develop1.net/.../jQueryNamespacing.aspx

    Please verify my answer if helps.

    Thanks,

    Sandeep

  • RE: Not able to bind crm fetch data in html table

    see this is my jqgrid code, i need to get data from crm fetch not hardcoded ,can some on explain me

    $(function () {
    "use strict";
    $("#grid").jqGrid({
    colModel: [
    { name: "firstName" },
    { name: "lastName" }
    ],
    data: [
    { id: 10, firstName: "Angela", lastName: "Merkel" },
    { id: 20, firstName: "Vladimir", lastName: "Putin" },
    { id: 30, firstName: "David", lastName: "Cameron" },
    { id: 40, firstName: "Barack", lastName: "Obama" },
    { id: 50, firstName: "François", lastName: "Hollande" }
    ]
    });
    });

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans